[Python-checkins] CVS: python/dist/src configure,1.158,1.159 configure.in,1.167,1.168

Guido van Rossum python-dev@python.org
Sat, 7 Oct 2000 09:21:30 -0700


Update of /cvsroot/python/python/dist/src
In directory slayer.i.sourceforge.net:/tmp/cvs-serv4081

Modified Files:
	configure configure.in 
Log Message:
Put arguments to test -z in double quotes. Fixes Bug #116325.

Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.158
retrieving revision 1.159
diff -C2 -r1.158 -r1.159
*** configure	2000/10/05 18:45:52	1.158
--- configure	2000/10/07 16:21:27	1.159
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.166 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.168 
  
  # Guess values for system-dependent variables and create Makefiles.
***************
*** 3103,3110 ****
      USE_THREAD_MODULE="#"
  else
!     if test ! -z $with_threads -a -d $with_threads
      then LDFLAGS="$LDFLAGS -L$with_threads"
      fi
!     if test ! -z $withval -a -d $withval
      then LDFLAGS="$LDFLAGS -L$withval"
      fi
--- 3103,3110 ----
      USE_THREAD_MODULE="#"
  else
!     if test ! -z "$with_threads" -a -d "$with_threads"
      then LDFLAGS="$LDFLAGS -L$with_threads"
      fi
!     if test ! -z "$withval" -a -d "$withval"
      then LDFLAGS="$LDFLAGS -L$withval"
      fi
***************
*** 3783,3787 ****
  DYNLOADFILE="dynload_dl.o"
  dldir=$withval
! 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; }
--- 3783,3787 ----
  DYNLOADFILE="dynload_dl.o"
  dldir=$withval
! 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; }

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.167
retrieving revision 1.168
diff -C2 -r1.167 -r1.168
*** configure.in	2000/10/05 18:45:53	1.167
--- configure.in	2000/10/07 16:21:27	1.168
***************
*** 751,758 ****
      USE_THREAD_MODULE="#"
  else
!     if test ! -z $with_threads -a -d $with_threads
      then LDFLAGS="$LDFLAGS -L$with_threads"
      fi
!     if test ! -z $withval -a -d $withval
      then LDFLAGS="$LDFLAGS -L$withval"
      fi
--- 751,758 ----
      USE_THREAD_MODULE="#"
  else
!     if test ! -z "$with_threads" -a -d "$with_threads"
      then LDFLAGS="$LDFLAGS -L$with_threads"
      fi
!     if test ! -z "$withval" -a -d "$withval"
      then LDFLAGS="$LDFLAGS -L$withval"
      fi
***************
*** 890,894 ****
  DYNLOADFILE="dynload_dl.o"
  dldir=$withval
! if test ! -z $dldir -a -d $dldir
  then LDFLAGS="$LDFLAGS -L$dldir"
  else AC_ERROR(proper usage is --with-sgi-dl=DIRECTORY)
--- 890,894 ----
  DYNLOADFILE="dynload_dl.o"
  dldir=$withval
! if test ! -z "$dldir" -a -d "$dldir"
  then LDFLAGS="$LDFLAGS -L$dldir"
  else AC_ERROR(proper usage is --with-sgi-dl=DIRECTORY)