X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=ebc5cfd5c715eac89b0767c1b707b0c58c4d08d2;hb=9a049cb107efab5b03dae694d8c7bf9b97655450;hp=755c339d8639599478729c0d40dd298aab8144c1;hpb=f921f7b52fe82782fe6ef1bc72e58200fed77d5a;p=goaljobs.git diff --git a/configure.ac b/configure.ac index 755c339..ebc5cfd 100644 --- a/configure.ac +++ b/configure.ac @@ -94,11 +94,17 @@ if test "x$CURL" = "x"; then AC_MSG_ERROR([You must install the 'curl' program]) fi +dnl ocamldoc (optional) +AM_CONDITIONAL([HAVE_OCAMLDOC], + [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