configure: Don't test for camlp4of.opt, test for camlp4of. master
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Jul 2015 14:59:00 +0000 (15:59 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 21 Jul 2015 14:59:00 +0000 (15:59 +0100)
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.

configure.ac

index d6e8720..d59de02 100644 (file)
@@ -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