summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-04-12 12:52:30 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-07-18 19:23:24 +0100
commitb9f38fd024722c50c2f8ad961bbc752475bf0735 (patch)
tree603412023e4dcabd2874a971feb6a3c66711790b
parentd54ea8a41b8df982eb87a6056ccce5a6a3a96748 (diff)
downloaddbus-b9f38fd024722c50c2f8ad961bbc752475bf0735.tar.gz
configure.ac: fix check for xsltproc
Pre-setting XSLTPROC interferes with AC_CHECK_PROGS letting the user override choice of program via the environment. Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36156
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a4c21855..a6c8d741 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1265,9 +1265,8 @@ fi
AM_CONDITIONAL(DBUS_DOXYGEN_DOCS_ENABLED, test x$enable_doxygen_docs = xyes)
AC_MSG_RESULT($enable_doxygen_docs)
-XSLTPROC=false
AC_CHECK_PROGS([XSLTPROC], [xsltproc])
-AM_CONDITIONAL(DBUS_HAVE_XSLTPROC, test "$XSLTPROC" != false)
+AM_CONDITIONAL([DBUS_HAVE_XSLTPROC], [test "x$XSLTPROC" != "x"])
### XML Documentation