summaryrefslogtreecommitdiffstats
path: root/src/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.ac')
-rw-r--r--src/configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configure.ac b/src/configure.ac
index 8a2a95f82..5da27a0eb 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -108,12 +108,12 @@ if ! $PKG_CONFIG --atleast-version 1.0.0 dbus-1; then
fi
if test x$has_dbus != xno; then
- SAFE_LDFLAGS="$LDFLAGS"
- LDFLAGS="$DBUS_LIBS"
+ SAFE_LIBS="$LIBS"
+ LIBS="$DBUS_LIBS"
AC_CHECK_FUNC([dbus_watch_get_unix_fd],
AC_DEFINE([HAVE_DBUS_WATCH_GET_UNIX_FD], [1],
[Define if dbus_watch_get_unix_fd exists]))
- LDFLAGS="$SAFE_LDFLAGS"
+ LIBS="$SAFE_LIBS"
fi
if test x$HAVE_MANPAGES != x; then