X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=755c339d8639599478729c0d40dd298aab8144c1;hb=bb4a32c13b7a0b6f3148cff075c7b9176ce14020;hp=613186d1528920a6c073089fa0d222aa3f6463a5;hpb=c3463aa718ded07f9419de76ee9135eb2dcf34a5;p=goaljobs.git diff --git a/configure.ac b/configure.ac index 613186d..755c339 100644 --- a/configure.ac +++ b/configure.ac @@ -82,14 +82,27 @@ if test "x$OCAMLFIND" = "xno"; then AC_MSG_ERROR([You must install OCaml findlib (the ocamlfind command)]) fi +dnl OCaml calendar library is required. +AC_CHECK_OCAML_PKG(calendar) +if test "x$OCAML_PKG_calendar" = "xno"; then + AC_MSG_ERROR([You must install OCaml calendar library version 2]) +fi + +dnl Check for curl (for URL testing, downloads). +AC_CHECK_PROG(CURL,curl,curl) +if test "x$CURL" = "x"; then + AC_MSG_ERROR([You must install the 'curl' program]) +fi + 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_MSG_ERROR([You must install the 'perldoc' program]) fi AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_FILES([goaljobs.spec +AC_CONFIG_FILES([goaljobs_config.ml + goaljobs.spec Makefile META examples/Makefile