Commit 4095101c authored by Guido van Rossum's avatar Guido van Rossum

Put arguments to test -z in double quotes. Fixes Bug #116325.

parent 77878413
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.166 # From configure.in Revision: 1.168
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13 # Generated automatically using autoconf version 2.13
...@@ -3102,10 +3102,10 @@ if test "$with_threads" = "no" ...@@ -3102,10 +3102,10 @@ if test "$with_threads" = "no"
then then
USE_THREAD_MODULE="#" USE_THREAD_MODULE="#"
else 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" then LDFLAGS="$LDFLAGS -L$with_threads"
fi fi
if test ! -z $withval -a -d $withval if test ! -z "$withval" -a -d "$withval"
then LDFLAGS="$LDFLAGS -L$withval" then LDFLAGS="$LDFLAGS -L$withval"
fi fi
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
...@@ -3782,7 +3782,7 @@ EOF ...@@ -3782,7 +3782,7 @@ EOF
DYNLOADFILE="dynload_dl.o" DYNLOADFILE="dynload_dl.o"
dldir=$withval dldir=$withval
if test ! -z $dldir -a -d $dldir if test ! -z "$dldir" -a -d "$dldir"
then LDFLAGS="$LDFLAGS -L$dldir" then LDFLAGS="$LDFLAGS -L$dldir"
else { echo "configure: error: proper usage is --with-sgi-dl=DIRECTORY" 1>&2; exit 1; } else { echo "configure: error: proper usage is --with-sgi-dl=DIRECTORY" 1>&2; exit 1; }
fi fi
......
...@@ -750,10 +750,10 @@ if test "$with_threads" = "no" ...@@ -750,10 +750,10 @@ if test "$with_threads" = "no"
then then
USE_THREAD_MODULE="#" USE_THREAD_MODULE="#"
else 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" then LDFLAGS="$LDFLAGS -L$with_threads"
fi fi
if test ! -z $withval -a -d $withval if test ! -z "$withval" -a -d "$withval"
then LDFLAGS="$LDFLAGS -L$withval" then LDFLAGS="$LDFLAGS -L$withval"
fi fi
AC_DEFINE(_REENTRANT) AC_DEFINE(_REENTRANT)
...@@ -889,7 +889,7 @@ AC_MSG_RESULT($withval) ...@@ -889,7 +889,7 @@ AC_MSG_RESULT($withval)
AC_DEFINE(WITH_SGI_DL) AC_DEFINE(WITH_SGI_DL)
DYNLOADFILE="dynload_dl.o" DYNLOADFILE="dynload_dl.o"
dldir=$withval dldir=$withval
if test ! -z $dldir -a -d $dldir if test ! -z "$dldir" -a -d "$dldir"
then LDFLAGS="$LDFLAGS -L$dldir" then LDFLAGS="$LDFLAGS -L$dldir"
else AC_ERROR(proper usage is --with-sgi-dl=DIRECTORY) else AC_ERROR(proper usage is --with-sgi-dl=DIRECTORY)
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment