From 4f021dfa94a823bce9070fb36e8ec49a749e4a1c Mon Sep 17 00:00:00 2001 From: courant Date: Mon, 9 Apr 2001 15:01:30 +0000 Subject: nettoyage d'entrees de grammaires inutiles git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1563 85f007b7-540e-0410-9357-904b9bb8a0f7 --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index d30e9ee383..ebce54d61d 100755 --- a/configure +++ b/configure @@ -14,7 +14,7 @@ DATE="March 2001" which () { for i in `echo $PATH | tr ':' ' '` ; do if test -z "$i"; then $i=.; fi - if [ -f $i/$1 ] ; then + if [ -f "$i/$1" ] ; then echo $i/$1 break fi @@ -281,13 +281,13 @@ esac # do we have a native compiler: test of ocamlopt and its version -if [ $best_compiler = "opt" ] ; then +if [ "$best_compiler" = "opt" ] ; then CAMLOPT=`which $nativecamlc` case $CAMLOPT in "") best_compiler=byte echo "You have only bytecode compilation.";; *) CAMLOPTVERSION=`$CAMLOPT -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' ` - if [ $CAMLOPTVERSION != $CAMLVERSION ] ; then \ + if [ "$CAMLOPTVERSION" != "$CAMLVERSION" ] ; then \ echo "native and bytecode compilers do not have the same version!"; fi echo "You have native-code compilation. Good!" esac -- cgit v1.2.3