From e3cc4d32de383a8087c1065f150a09c5f3f77ca8 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 27 Jul 2011 12:11:54 +0100 Subject: [PATCH] configure: Fix perldoc detection. This only worked by accident. If perldoc was not installed then you would have got a build error. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0027253..50fb3b3 100644 --- a/configure.ac +++ b/configure.ac @@ -93,11 +93,11 @@ AC_CHECK_PROGS([OPENER], [gnome-open], [no]) AC_CHECK_PROG([HIVEXREGEDIT], [hivexregedit], [hivexregedit], [no]) -AC_CHECK_PROG(PERLDOC,[perldoc],[perldoc],[no]) +AC_CHECK_PROG([PERLDOC],[perldoc],[perldoc],[no]) if test "x$PERLDOC" = "xno" ; then AC_MSG_WARN([perldoc not found - install perl to make man pages]) fi -AM_CONDITIONAL(HAVE_PERLDOC,[test "$perldoc" != "no"]) +AM_CONDITIONAL([HAVE_PERLDOC],[test "x$PERLDOC" != "xno"]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile config.ml guestfs-browser.spec]) -- 1.8.3.1