aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2019-08-15 21:27:10 -0400
committerJason Woodward2019-08-16 00:34:34 -0400
commit93b3fda26ffa784d49fe016202f23ec544638795 (patch)
tree9a8e74ba89638f0bf0e8f45bc25fc0d326cdce9f
parent4c6e61f39af90d7d297b31a06fb4b27b5bfab84f (diff)
downloadslapt-update-service-93b3fda26ffa784d49fe016202f23ec544638795.tar.gz
just set sysconfdir to something sensible in case --sysconfdir is not set
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6bf9951..8f437bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,6 +76,11 @@ AS_IF([test "x$with_notification" = "xyes"], [
AC_SUBST(NOTIFY_LIBS)
])
+# too many forgotten overrides... just make it the default
+if test "$sysconfdir" = '${prefix}/etc'
+then
+ sysconfdir=/etc
+fi
AS_AC_EXPAND(DATADIR, $datadir)
DBUS_SYSTEM_SERVICES_DIR="$DATADIR/dbus-1/system-services"