From 7fdaaf443f20224ce6bf6de53f3194974da315f6 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Fri, 30 Mar 2012 10:54:50 +0100 Subject: [PATCH 1/3] RHEL 5: configure: Fix test for caml_raise_with_args. --- configure.ac | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index d1604f7..fb4e074 100644 --- a/configure.ac +++ b/configure.ac @@ -211,9 +211,9 @@ if test "x$OCAMLC" != "xno"; then echo "char $f (); char foo() { return $f (); }" > conftest.c rm -f conftest_ml.ml touch conftest_ml.ml - if $OCAMLC -c conftest.c 2>/dev/null && \ - $OCAMLC -c conftest_ml.ml 2>/dev/null && \ - $OCAMLC conftest.o conftest_ml.cmo -o conftest 2>/dev/null ; then + if $OCAMLC -c conftest.c >&AS_MESSAGE_LOG_FD 2>&1 && \ + $OCAMLC -c conftest_ml.ml >&AS_MESSAGE_LOG_FD 2>&1 && \ + $OCAMLC -custom conftest.o conftest_ml.cmo -o conftest >&AS_MESSAGE_LOG_FD 2>&1 ; then AC_DEFINE([HAVE_CAML_RAISE_WITH_ARGS],[1], [Defined if function caml_raise_with_args exists.]) AC_MSG_RESULT([found]) -- 1.7.4.1