Straight use of sysconfdir variable

This commit is contained in:
Sanel Zukan 2010-01-19 13:49:49 +00:00
parent fcf71678b0
commit 2c546ddcf8

View File

@ -19,14 +19,7 @@ includedir ?= "@includedir@" ;
libdir ?= "@libdir@" ;
mandir ?= "@mandir@" ;
srcdir ?= "@abs_srcdir@" ;
# by default, configure will use '$(prefix)/etc' for sysconfdir which is pretty dumb
# as (by default) things installed in '/usr' put config data in '/etc'
if $(prefix) = "/" || $(prefix) = "/usr" {
sysconfdir ?= "/etc" ;
} else {
sysconfdir ?= "@sysconfdir@" ;
}
# compiler
CC = @CC@ ;