Implement url_exists, file_contains_string, url_contains_string.
[goaljobs.git] / configure.ac
index 6ca6f32..d0dcf82 100644 (file)
 AC_INIT([goaljobs],[0.1])
 AM_INIT_AUTOMAKE([foreign])
 
+dnl Only used temporarily while goaljobs.spec is contained in the
+dnl tarball.  We will remove this later.
+AC_SUBST([RPM_RELEASE],[1])
+
 AC_CONFIG_MACRO_DIR([m4])
 
 dnl Allow all GNU/Linux functions.
@@ -78,6 +82,12 @@ if test "x$OCAMLFIND" = "xno"; then
     AC_MSG_ERROR([You must install OCaml findlib (the ocamlfind command)])
 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
@@ -85,7 +95,10 @@ if test "x$PERLDOC" = "x"; then
 fi
 
 AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile
+AC_CONFIG_FILES([goaljobs_config.ml
+                 goaljobs.spec
+                 Makefile
+                 META
                  examples/Makefile
                  examples/compile-c/Makefile
                  tests/Makefile])