]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Detect pod2man and use it
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 25 Nov 2009 09:02:43 +0000 (10:02 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 25 Nov 2009 09:02:43 +0000 (10:02 +0100)
configure.in
helpers/basic_auth/DB/config.test

index 3fb73872430a782ca00393e7bd26a877f691ffc6..f04a0c5bd1129c9a2c95cba7b7329570030ae75a 100644 (file)
@@ -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
index 9b1b1dfc5a1638e68ebea75332aa268858a45b27..c72b3db687dc9fa49c4c7a87789889df847f9eeb 100755 (executable)
@@ -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 $?