]> granicus.if.org Git - php/commitdiff
--with-foo causes $withval to be set to "yes," not ""
authorSascha Schumann <sas@php.net>
Tue, 23 May 2000 10:21:40 +0000 (10:21 +0000)
committerSascha Schumann <sas@php.net>
Tue, 23 May 2000 10:21:40 +0000 (10:21 +0000)
ext/gd/config.m4

index a7a26de01854c5c015f2ecdcf8d9790bc93d625b..07d89d1dbaf7e2afe13f4182cbbcc4aa451b5ee8 100644 (file)
@@ -3,7 +3,7 @@ AC_DEFUN(PHP_GD_JPEG,[
         AC_ARG_WITH(jpeg-dir,
         [  --with-jpeg-dir[=DIR]   jpeg dir for gd-1.8+],[
           AC_MSG_RESULT(yes)
-          if test -z $withval; then
+          if test "$withval" = "yes"; then
             withval="/usr/local"
           fi
           old_LIBS=$LIBS