-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])