--- configure.ac 2015-07-03 23:59:19.361723234 +0200 +++ configure.ac 2015-07-03 23:59:48.161216749 +0200 @@ -27,7 +27,7 @@ AC_CONFIG_HEADERS([config.h]) -t=`$OCAMLBUILD -use-ocamlfind &> /dev/null; echo $?` -if test $t == 0 ; then +t=`$OCAMLBUILD -use-ocamlfind > /dev/null 2>&1 ; echo $?` +if test "$t" = 0 ; then AC_MSG_RESULT(ocaml version $OCAMLVERSION. Use standard Makefile) AC_CONFIG_FILES([Makefile]) AC_OUTPUT