Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > b888cc9e879a7025259b7332f08d64d6 > files > 2

ocaml-ows-0.1-3mdv2010.0.src.rpm

diff -Naur --exclude '*~' ows-snapshot/configure.in ows-snapshot-fix-build/configure.in
--- ows-snapshot/configure.in	2003-05-24 10:31:02.000000000 -0400
+++ ows-snapshot-fix-build/configure.in	2008-09-18 08:26:09.000000000 -0400
@@ -61,13 +61,6 @@
 OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
 #echo "ocaml version is $OCAMLVERSION"
 
-# check that this version is at least the one we need
-if (echo "let v = \"$OCAMLVERSION\" in $OCAML_NEEDED <= (try float_of_string (try let pos = String.index v '+' in String.sub v 0 pos with _ -> (try let pos = String.index v ' ' in String.sub v 0 pos with _ -> v)) with _ -> 0.0) ;;" | $OCAML | grep true > /dev/null) ; then
-	AC_MSG_RESULT(OCaml version $OCAMLVERSION is ok)
-else
-	AC_MSG_ERROR(OCaml version $OCAMLVERSION found ; version $OCAML_NEEDED or greater is needed)
-fi
-
 OCAMLLIB=`$OCAMLC -v | tail -1 | cut -f 4 -d " "`
 echo "ocaml library path is $OCAMLLIB"