[test "x$OCAMLDOC" != "xno"])
dnl Check for POD (for manual pages).
-AC_CHECK_PROG(PERLDOC,perldoc,perldoc)
-if test "x$PERLDOC" = "x"; then
- AC_MSG_ERROR([You must install the 'perldoc' program])
+AC_CHECK_PROG(POD2MAN,pod2man,pod2man,no)
+if test "x$POD2MAN" = "x"; then
+ AC_MSG_ERROR([You must install the 'pod2man' program])
fi
+AM_CONDITIONAL([HAVE_POD2MAN],
+ [test "x$POD2MAN" != "xno"])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([goaljobs_config.ml