aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-05-19 15:29:27 +0000
committerGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-05-19 15:29:27 +0000
commit0270ae316d7e9d6ddb060383d24d852c54f067d6 (patch)
tree3f452f730868b0b61d69c13419e227aeeb0a0abb /configure
parentbf69f9e2204de87a08ef2cc622d347b33f3f42ce (diff)
Discontinue support for ocaml 3.09.*
Ocaml 3.10.0 is already three year old... git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13015 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 4 insertions, 17 deletions
diff --git a/configure b/configure
index 5ad950260..69a900b3b 100755
--- a/configure
+++ b/configure
@@ -420,16 +420,16 @@ esac
CAMLVERSION=`"$bytecamlc" -version`
case $CAMLVERSION in
- 1.*|2.*|3.00|3.01|3.02|3.03|3.03alpha|3.04|3.05beta|3.05|3.06|3.07*|3.08*|3.09.[012])
+ 1.*|2.*|3.0*)
echo "Your version of Objective-Caml is $CAMLVERSION."
if [ "$force_caml_version" = "yes" ]; then
echo "*Warning* You are compiling Coq with an outdated version of Objective-Caml."
else
- echo " You need Objective-Caml 3.09.3 or later."
+ echo " You need Objective-Caml 3.10.0 or later."
echo " Configuration script failed!"
exit 1
fi;;
- ?*)
+ 3.1*)
CAMLP4COMPAT="-loc loc"
echo "You have Objective-Caml $CAMLVERSION. Good!";;
*)
@@ -450,12 +450,6 @@ case $ARCH in
CAMLLIB=`"$CAMLC" -where`
esac
-# We need to set a special flag for OCaml 3.07
-case $CAMLVERSION in
- 3.07*)
- cflags="$cflags -DOCAML_307";;
-esac
-
if [ "$coq_debug_flag" = "-g" ]; then
case $CAMLTAG in
OCAML31*)
@@ -547,14 +541,7 @@ CAMLP4BIN=${CAMLBIN}
if [ "$best_compiler" = "opt" ] ; then
if test -e "$nativecamlc" || test -e "`which $nativecamlc`"; then
CAMLOPTVERSION=`"$nativecamlc" -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
- if [ "`uname -s`" = "Darwin" -a "$ARCH" = "i386" ]; then
- case $CAMLOPTVERSION in
- 3.09.3|3.1?*) ;;
- *) echo "Native compilation on MacOS X Pentium requires Objective-Caml >= 3.09.3,"
- best_compiler=byte
- echo "only the bytecode version of Coq will be available."
- esac
- elif [ ! -f $FULLCAMLP4LIB/gramlib.cmxa ]; then
+ if [ ! -f $FULLCAMLP4LIB/gramlib.cmxa ]; then
best_compiler=byte
echo "Cannot find native-code $CAMLP4,"
echo "only the bytecode version of Coq will be available."