diff options
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | src/conf_macros.m4 | 2 | ||||
-rw-r--r-- | src/tests/cwrap/Makefile.am | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 53ace65b9..56a562c76 100644 --- a/Makefile.am +++ b/Makefile.am @@ -386,6 +386,7 @@ AM_CPPFLAGS = \ $(JOURNALD_CFLAGS) \ -DLIBDIR=\"$(libdir)\" \ -DVARDIR=\"$(localstatedir)\" \ + -DSYSCONFDIR=\"$(sysconfdir)\" \ -DSHLIBEXT=\"$(SHLIBEXT)\" \ -DSSSD_LIBEXEC_PATH=\"$(sssdlibexecdir)\" \ -DSSSD_CONF_DIR=\"$(sssdconfdir)\" \ diff --git a/src/conf_macros.m4 b/src/conf_macros.m4 index fbee81f56..df9d1ddf8 100644 --- a/src/conf_macros.m4 +++ b/src/conf_macros.m4 @@ -353,7 +353,7 @@ AC_DEFUN([WITH_KRB5_CONF], ] ) - KRB5_CONF_PATH="${sysconfdir}/krb5.conf" + KRB5_CONF_PATH="\"SYSCONFDIR\"/krb5.conf" if test x"$with_krb5_conf" != x; then KRB5_CONF_PATH=$with_krb5_conf fi diff --git a/src/tests/cwrap/Makefile.am b/src/tests/cwrap/Makefile.am index 02be67387..46abab5ae 100644 --- a/src/tests/cwrap/Makefile.am +++ b/src/tests/cwrap/Makefile.am @@ -4,7 +4,9 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/src \ -I. \ -DLOCALEDIR=\"$(localedir)\" \ + -DLIBDIR=\"$(libdir)\" \ -DVARDIR=\"$(localstatedir)\" \ + -DSYSCONFDIR=\"$(sysconfdir)\" \ $(DBUS_CFLAGS) \ $(GLIB2_CFLAGS) \ $(NULL) |