From: Richard W.M. Jones Date: Wed, 27 Jul 2011 11:11:54 +0000 (+0100) Subject: configure: Fix perldoc detection. X-Git-Tag: 0.1.7~6 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=e3cc4d32de383a8087c1065f150a09c5f3f77ca8;p=guestfs-browser.git configure: Fix perldoc detection. This only worked by accident. If perldoc was not installed then you would have got a build error. --- 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])