Merge pull request #2836 from acrisci/bug/sysconfdir-to-makefile

Move SYSCONFDIR definition to makefile
This commit is contained in:
Ingo Bürk 2017-07-13 06:55:22 +02:00 committed by GitHub
commit b23f23b29b
2 changed files with 1 additions and 2 deletions

View File

@ -215,6 +215,7 @@ asciidoc_MANS =
endif
AM_CPPFLAGS = \
-DSYSCONFDIR="\"$(sysconfdir)\"" \
-I$(top_builddir)/parser \
-I$(top_srcdir)/include \
@AX_EXTEND_SRCDIR_CPPFLAGS@

View File

@ -59,8 +59,6 @@ AX_CHECK_ENABLE_DEBUG([yes], , [UNUSED_NDEBUG], [$is_release])
AC_PROG_CC_C99
AC_DEFINE_UNQUOTED(SYSCONFDIR, "`eval echo $sysconfdir`", [Location of system configuration files])
# For strnlen() and vasprintf().
AC_USE_SYSTEM_EXTENSIONS