aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorcourant2001-04-09 15:01:30 +0000
committercourant2001-04-09 15:01:30 +0000
commit4f021dfa94a823bce9070fb36e8ec49a749e4a1c (patch)
treed5e9712380e4eddac0b4bebd1b995f5b67fb46d6 /configure
parent01b8dc21e73e222dfe66488cf0a8a76fd0efdf10 (diff)
nettoyage d'entrees de grammaires inutiles
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1563 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
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