]> granicus.if.org Git - python/commitdiff
Put arguments to test -z in double quotes. Fixes Bug #116325.
authorGuido van Rossum <guido@python.org>
Sat, 7 Oct 2000 16:21:27 +0000 (16:21 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 7 Oct 2000 16:21:27 +0000 (16:21 +0000)
configure
configure.in

index ac81fbbbd8e92422bf2503945aec686fcf464592..59b63ff4add6c68b68ea89e577cb2e1e883b0c9c 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# From configure.in Revision: 1.166 
+# From configure.in Revision: 1.168 
 
 # Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using autoconf version 2.13 
@@ -3102,10 +3102,10 @@ if test "$with_threads" = "no"
 then
     USE_THREAD_MODULE="#"
 else
-    if test ! -z $with_threads -a -d $with_threads
+    if test ! -z "$with_threads" -a -d "$with_threads"
     then LDFLAGS="$LDFLAGS -L$with_threads"
     fi
-    if test ! -z $withval -a -d $withval
+    if test ! -z "$withval" -a -d "$withval"
     then LDFLAGS="$LDFLAGS -L$withval"
     fi
     cat >> confdefs.h <<\EOF
@@ -3782,7 +3782,7 @@ EOF
 
 DYNLOADFILE="dynload_dl.o"
 dldir=$withval
-if test ! -z $dldir -a -d $dldir
+if test ! -z "$dldir" -a -d "$dldir"
 then LDFLAGS="$LDFLAGS -L$dldir"
 else { echo "configure: error: proper usage is --with-sgi-dl=DIRECTORY" 1>&2; exit 1; }
 fi
index eefea04297c6f0e4ab0cd1807a1b477f307dd5ad..8517d568d329bb7234b690ea2d2442b2d9fbb038 100644 (file)
@@ -750,10 +750,10 @@ if test "$with_threads" = "no"
 then
     USE_THREAD_MODULE="#"
 else
-    if test ! -z $with_threads -a -d $with_threads
+    if test ! -z "$with_threads" -a -d "$with_threads"
     then LDFLAGS="$LDFLAGS -L$with_threads"
     fi
-    if test ! -z $withval -a -d $withval
+    if test ! -z "$withval" -a -d "$withval"
     then LDFLAGS="$LDFLAGS -L$withval"
     fi
     AC_DEFINE(_REENTRANT)
@@ -889,7 +889,7 @@ AC_MSG_RESULT($withval)
 AC_DEFINE(WITH_SGI_DL)
 DYNLOADFILE="dynload_dl.o"
 dldir=$withval
-if test ! -z $dldir -a -d $dldir
+if test ! -z "$dldir" -a -d "$dldir"
 then LDFLAGS="$LDFLAGS -L$dldir"
 else AC_ERROR(proper usage is --with-sgi-dl=DIRECTORY)
 fi