Skip to content

Commit

Permalink
Merge pull request #2836 from acrisci/bug/sysconfdir-to-makefile
Browse files Browse the repository at this point in the history
Move SYSCONFDIR definition to makefile
  • Loading branch information
Airblader committed Jul 13, 2017
2 parents 0016ee8 + c534a3e commit b23f23b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Expand Up @@ -215,6 +215,7 @@ asciidoc_MANS =
endif

AM_CPPFLAGS = \
-DSYSCONFDIR="\"$(sysconfdir)\"" \
-I$(top_builddir)/parser \
-I$(top_srcdir)/include \
@AX_EXTEND_SRCDIR_CPPFLAGS@
Expand Down
2 changes: 0 additions & 2 deletions configure.ac
Expand Up @@ -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

Expand Down

0 comments on commit b23f23b

Please sign in to comment.