diff options
author | Guido van Rossum <guido@python.org> | 2000-10-07 16:21:27 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-10-07 16:21:27 (GMT) |
commit | 4095101c78c6313286306cb55b8aa5f840ce9197 (patch) | |
tree | 1f4fe23242fe9e79e6ccdb01e9036f38da38c6d8 /configure | |
parent | 77878413bae310a1ebb172c83a9484ca55d48b17 (diff) | |
download | cpython-4095101c78c6313286306cb55b8aa5f840ce9197.zip cpython-4095101c78c6313286306cb55b8aa5f840ce9197.tar.gz cpython-4095101c78c6313286306cb55b8aa5f840ce9197.tar.bz2 |
Put arguments to test -z in double quotes. Fixes Bug #116325.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |