Permalink
Browse files

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

Move SYSCONFDIR definition to makefile
  • Loading branch information...
2 parents 0016ee8 + c534a3e commit b23f23b29b2d017fc3a073a7aa84888796846249 @Airblader Airblader committed on GitHub Jul 13, 2017
Showing with 1 addition and 2 deletions.
  1. +1 −0 Makefile.am
  2. +0 −2 configure.ac
View
@@ -215,6 +215,7 @@ asciidoc_MANS =
endif
AM_CPPFLAGS = \
+ -DSYSCONFDIR="\"$(sysconfdir)\"" \
-I$(top_builddir)/parser \
-I$(top_srcdir)/include \
@AX_EXTEND_SRCDIR_CPPFLAGS@
View
@@ -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

0 comments on commit b23f23b

Please sign in to comment.