Merge pull request #2836 from acrisci/bug/sysconfdir-to-makefile
Move SYSCONFDIR definition to makefile
This commit is contained in:
commit
b23f23b29b
|
@ -215,6 +215,7 @@ asciidoc_MANS =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
|
-DSYSCONFDIR="\"$(sysconfdir)\"" \
|
||||||
-I$(top_builddir)/parser \
|
-I$(top_builddir)/parser \
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
@AX_EXTEND_SRCDIR_CPPFLAGS@
|
@AX_EXTEND_SRCDIR_CPPFLAGS@
|
||||||
|
|
|
@ -59,8 +59,6 @@ AX_CHECK_ENABLE_DEBUG([yes], , [UNUSED_NDEBUG], [$is_release])
|
||||||
|
|
||||||
AC_PROG_CC_C99
|
AC_PROG_CC_C99
|
||||||
|
|
||||||
AC_DEFINE_UNQUOTED(SYSCONFDIR, "`eval echo $sysconfdir`", [Location of system configuration files])
|
|
||||||
|
|
||||||
# For strnlen() and vasprintf().
|
# For strnlen() and vasprintf().
|
||||||
AC_USE_SYSTEM_EXTENSIONS
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue