summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2019-10-21 11:12:11 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2019-10-21 11:12:11 -0400
commit397eefaa69b7928bb616ecdd6e6d8a4221d2b5f3 (patch)
treeed782da14ca9a1e8214a10622d7d9c737ccf0a1f /configure
parent9e82c53ebcb50e53358285efeb06bcccba57f4ee (diff)
downloadcups-397eefaa69b7928bb616ecdd6e6d8a4221d2b5f3.tar.gz
Another fix for DBUSDIR (Issue #5671)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index 8c6e6e8f4..004ecee99 100755
--- a/configure
+++ b/configure
@@ -5775,6 +5775,10 @@ fi
fi
LIBS="$SAVELIBS"
+DBUSDIR=""
+DBUS_NOTIFIER=""
+DBUS_NOTIFIERLIBS=""
+
# Check whether --enable-dbus was given.
if test "${enable_dbus+set}" = set; then :
enableval=$enable_dbus;
@@ -5787,10 +5791,6 @@ if test "${with_dbusdir+set}" = set; then :
fi
-DBUSDIR=""
-DBUS_NOTIFIER=""
-DBUS_NOTIFIERLIBS=""
-
if test "x$enable_dbus" != xno -a "x$PKGCONFIG" != x -a "x$host_os_name" != xdarwin; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
$as_echo_n "checking for DBUS... " >&6; }
@@ -5818,7 +5818,7 @@ if test "x$ac_cv_func_dbus_threads_init" = xyes; then :
fi
LIBS="$SAVELIBS"
- if test -d /etc/dbus-1; then
+ if test -d /etc/dbus-1 -a "x$DBUSDIR" = x; then
DBUSDIR="/etc/dbus-1"
fi
else