aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2007-10-07 15:51:31 +0000
committerherbelin2007-10-07 15:51:31 +0000
commit9a721e4d20927f0b97d4c5e346486122e2590f4d (patch)
tree4226df39716ecaaba71f582899346259db042510
parent85f8d5fb8138cd54d2eb27b57ea21159379642ea (diff)
Détection de camlp5 5.00 au configure
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10190 85f007b7-540e-0410-9357-904b9bb8a0f7
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index f731d92455..a6307ab435 100755
--- a/configure
+++ b/configure
@@ -411,6 +411,13 @@ else
CAMLP4LIB=+$CAMLP4
fi
+if [ "$CAMLP4" = "camlp5" ] && `$camlp4oexec -v 2>&1 | grep -q 5.00`; then
+ echo "Camlp5 version 5.00 not supported: versions 4.0x or >= 5.01 are OK."
+ echo "Configuration script failed!"
+ exit 1
+fi
+
+
case $CAMLP4LIB in
+*) FULLCAMLP4LIB=$CAMLLIB/`echo $CAMLP4LIB | cut -b 2-`;;
*) FULLCAMLP4LIB=$CAMLP4LIB;;