]> sjero.net Git - wget/blobdiff - configure.in
[svn] * configure.in: Look for perl and pod2man and make substitutions.
[wget] / configure.in
index a715746e83ed73711467507cf3c4739fc5158721..71c0029fa39a732b5837fac9828fd41bd34facf8 100644 (file)
@@ -224,6 +224,20 @@ case "${MAKEINFO}" in
    *) MAKEINFO="makeinfo \$(srcdir)/wget.texi"            ;;
 esac
 
+dnl
+dnl Find perl and pod2man
+dnl
+
+AC_PATH_PROGS(PERL, perl5 perl, no)
+AC_PATH_PROG(POD2MAN, pod2man, no)
+
+if test "x${POD2MAN}" = xno; then
+  COMMENT_IF_NO_POD2MAN="# "
+else
+  COMMENT_IF_NO_POD2MAN=
+fi
+AC_SUBST(COMMENT_IF_NO_POD2MAN)
+
 dnl
 dnl Create output
 dnl