diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2004-04-08 14:01:29 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2004-04-08 14:01:29 +0000 |
commit | 866ef538adffca2bd4e3f8c6846907ebd377216a (patch) | |
tree | 768e57bf1c6ce09cab97d396c03c8d614a87ac3c /configure | |
parent | 9fa3a718fca8a2b6e33630745812a891181cd052 (diff) |
Incoherence bytecamlc et camlc si echec a trouver ocamlc.opt avec option -opt (cd discussion bug #611)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@5662 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -270,14 +270,14 @@ esac CAMLC=`which $bytecamlc` case "$CAMLC" in "") echo "$bytecamlc is not present in your path !" - echo "Give me manually the path to the ocamlc executable [/usr/local/bin by default]: " + echo "Give me manually the path to the $bytecamlc executable [/usr/local/bin by default]: " read CAMLC case "$CAMLC" in - "") CAMLC=/usr/local/bin/ocamlc;; + "") CAMLC=/usr/local/bin/$bytecamlc;; */ocamlc|*/ocamlc.opt) true;; - */) CAMLC="${CAMLC}"ocamlc;; - *) CAMLC="${CAMLC}"/ocamlc;; + */) CAMLC="${CAMLC}"$bytecamlc;; + *) CAMLC="${CAMLC}"/$bytecamlc;; esac bytecamlc="$CAMLC" nativecamlc=`dirname "$CAMLC"`/$nativecamlc;; |