mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Straight use of sysconfdir variable
This commit is contained in:
parent
fcf71678b0
commit
2c546ddcf8
@ -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@ ;
|
||||
|
Loading…
Reference in New Issue
Block a user