configure: Don't test for camlp4of.opt, test for camlp4of.
[ocaml-bitstring.git] / configure.ac
index e8e0ec3..d59de02 100644 (file)
@@ -1,5 +1,5 @@
 # Bitstring syntax extension.
-# Copyright (C) 2008 Red Hat Inc., Richard W.M. Jones
+# Copyright (C) 2008-2013 Red Hat Inc., Richard W.M. Jones
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -17,7 +17,9 @@
 
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT(ocaml-bitstring,2.0.0)
+AC_INIT(ocaml-bitstring,2.0.4)
+
+AC_PROG_SED
 
 dnl Check for basic C environment.
 AC_PROG_CC
@@ -59,18 +61,16 @@ if test "x$OCAMLFIND" = "x"; then
 fi
 
 dnl Check for camlp4
-AC_CHECK_PROG(CAMLP4OF,camlp4of.opt,camlp4of.opt,no)
+AC_CHECK_PROG(CAMLP4OF,camlp4of,camlp4of,no)
 if test "x$CAMLP4OF" = "xno"; then
     AC_MSG_ERROR([You must have camlp4 installed])
 fi
 
 dnl Check for Extlib (optional)
 AC_CHECK_OCAML_PKG(extlib)
-AC_SUBST(pkg_extlib)
 
 dnl Check for CIL (optional)
 AC_CHECK_OCAML_PKG(cil)
-AC_SUBST(pkg_cil)
 
 dnl Check for /usr/bin/time and get full path.
 AC_PATH_PROG(TIME,time,no)