diff options
| author | herbelin | 2008-02-06 17:40:29 +0000 |
|---|---|---|
| committer | herbelin | 2008-02-06 17:40:29 +0000 |
| commit | 4a573f78ce747f7f7fac36f667dce1d829dc3bed (patch) | |
| tree | 8de98cb18979c347b011452f2d161488677ff53a | |
| parent | cf7312a664465f44037a27cc7547b0e2d9f671a8 (diff) | |
Résolution d'une confusion dans le rôle des variables CAMLP4 et CAMLP4LIB:
- CAMLP4 dit si on utilise camlp4 ou camlp5
- CAMLP4LIB est le chemin camlp4/5 à donner en option -I
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10517 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -399,7 +399,7 @@ esac # Very basic for the moment: if camlp5 exists, we use it... if [ "$camlp5dir" != "" ]; then - CAMLP4=$camlp5dir + CAMLP4=camlp5 CAMLP4LIB=$camlp5dir if [ ! -f $camlp5dir/camlp5.cma ]; then echo "Cannot find camlp5 libraries in $camlp5dir (camlp5.cma not found)" @@ -409,19 +409,19 @@ if [ "$camlp5dir" != "" ]; then camlp4oexec=`echo $camlp4oexec | sed -e 's/4/5/'` elif [ "$CAMLTAG" = "OCAML310" ]; then if [ -x "${CAMLLIB}/camlp5" ]; then - CAMLP4=camlp5 + CAMLP4LIB=+camlp5 elif [ -x "${CAMLLIB}/site-lib/camlp5" ]; then - CAMLP4=site-lib/camlp5 + CAMLP4LIB=+site-lib/camlp5 else echo "Objective Caml 3.10 found but no Camlp5 installed." echo "Configuration script failed!" exit 1 fi - CAMLP4LIB=+$CAMLP4 + CAMLP4=camlp5 camlp4oexec=`echo $camlp4oexec | sed -e 's/4/5/'` else CAMLP4=camlp4 - CAMLP4LIB=+$CAMLP4 + CAMLP4LIB=+camlp4 fi if [ "$CAMLP4" = "camlp5" ] && `$camlp4oexec -v 2>&1 | grep -q 5.00`; then |
