blob: 96a656239b6bcb5815c61ec2f3efe3e2f97ab173 [file] [log] [blame]
Author: Rémi Cardona
https://bugs.gentoo.org/show_bug.cgi?id=553596
https://github.com/rdicosmo/parmap/pull/36
--- 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