From: Francesco Chemolli Date: Wed, 25 Nov 2009 09:02:43 +0000 (+0100) Subject: Detect pod2man and use it X-Git-Tag: SQUID_3_2_0_1~310^2~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35d72bb02be4926caf4a7919daf0d72b2a3f3823;p=thirdparty%2Fsquid.git Detect pod2man and use it --- diff --git a/configure.in b/configure.in index 3fb7387243..f04a0c5bd1 100644 --- a/configure.in +++ b/configure.in @@ -55,6 +55,7 @@ AC_PATH_PROG(PERL, perl, none) if test "$ac_cv_path_PERL" = "none"; then AC_MSG_FAILURE([Perl is required to compile Squid. Please install Perl and then re-run configure ]) fi +AC_PATH_PROG(POD2MAN, pod2man, none) dnl set $(AR) AC_PATH_PROG(AR, ar, $FALSE) @@ -338,7 +339,6 @@ SQUID_CXX_CHECK_FHUGEOBJECTS if test "$squid_cv_test_checkforhugeobjects" = "yes"; then SQUID_CXXFLAGS="$SQUID_CXXFLAGS -fhuge-objects" fi -echo "************* HERE ***************" # see if we can use cc -pipe SQUID_TEST_COMPILER_FLAG([squid_cv_test_cc_pipe],[-pipe]) if test "$squid_cv_test_cc_pipe" ; then diff --git a/helpers/basic_auth/DB/config.test b/helpers/basic_auth/DB/config.test index 9b1b1dfc5a..c72b3db687 100755 --- a/helpers/basic_auth/DB/config.test +++ b/helpers/basic_auth/DB/config.test @@ -2,6 +2,6 @@ ## Test: do we have perl to build the helper scripts? ## Test: do we have pod2man to build the manual? -perl --version >/dev/null && pod2man --help >/dev/null +$(PERL) --version >/dev/null 2>&1 && $(POD2MAN) --help >/dev/null 2>&1 exit $?