X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=configure.ac;h=939ba6dcf094c325ee440c25782c465034a395bb;hb=02ebe178a2bd6b2448d4fbfa4a1f7fa98e9e82b1;hp=7140627244e27abda0bde7c0393cbad5e64ca42e;hpb=146ccaafd5c9d4f2798240b049f595f70f45f77b;p=elogind.git diff --git a/configure.ac b/configure.ac index 714062724..939ba6dcf 100644 --- a/configure.ac +++ b/configure.ac @@ -249,7 +249,7 @@ m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-conf # ------------------------------------------------------------------------------ have_dbus=no AC_ARG_ENABLE(dbus, AS_HELP_STRING([--disable-dbus], [disable usage of dbus-1 in tests])) -AS_IF(["x$enable_dbus" != "xno"], [ +AS_IF([test "x$enable_dbus" != "xno"], [ PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.3.2], [AC_DEFINE(HAVE_DBUS, 1, [Define if dbus-1 library is available]) have_dbus=yes], [have_dbus=no])