summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--src/conf_macros.m42
-rw-r--r--src/tests/cwrap/Makefile.am2
3 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 53ace65..56a562c 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 fbee81f..df9d1dd 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 d98bb33..c1991a1 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)