mirror of git://git.sysmocom.de/ofono
Add CONFIGDIR automake magic
This commit is contained in:
parent
da5adf366a
commit
267ae7ad6d
|
@ -124,6 +124,15 @@ fi
|
||||||
AC_DEFINE_UNQUOTED(STORAGEDIR, "${storagedir}",
|
AC_DEFINE_UNQUOTED(STORAGEDIR, "${storagedir}",
|
||||||
[Directory for the storage files])
|
[Directory for the storage files])
|
||||||
|
|
||||||
|
if (test "$sysconfdir" = '${prefix}/etc'); then
|
||||||
|
configdir="${prefix}/etc/ofono"
|
||||||
|
else
|
||||||
|
configdir="${sysconfdir}/ofono"
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_DEFINE_UNQUOTED(CONFIGDIR, "${configdir}",
|
||||||
|
[Directory for the configuration files])
|
||||||
|
|
||||||
COMPILER_FLAGS
|
COMPILER_FLAGS
|
||||||
|
|
||||||
AC_OUTPUT(Makefile gdbus/Makefile gatchat/Makefile gisi/Makefile
|
AC_OUTPUT(Makefile gdbus/Makefile gatchat/Makefile gisi/Makefile
|
||||||
|
|
Loading…
Reference in New Issue