From: Richard W.M. Jones Date: Tue, 21 Jul 2015 14:59:00 +0000 (+0100) Subject: configure: Don't test for camlp4of.opt, test for camlp4of. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=ocaml-bitstring.git configure: Don't test for camlp4of.opt, test for camlp4of. This patch isn't complete since we should really choose the best (either camlp4of or camlp4of.opt) and then use it in the Makefile. But at least it stops the package from breaking on bytecode-only architectures. --- diff --git a/configure.ac b/configure.ac index d6e8720..d59de02 100644 --- a/configure.ac +++ b/configure.ac @@ -61,7 +61,7 @@ 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