From: Sascha Schumann Date: Tue, 23 May 2000 10:21:40 +0000 (+0000) Subject: --with-foo causes $withval to be set to "yes," not "" X-Git-Tag: PRE_EIGHT_BYTE_ALLOC_PATCH~326 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99133bf4bb64d427d09e912e6f2f0126ff6afab1;p=php --with-foo causes $withval to be set to "yes," not "" --- diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index a7a26de018..07d89d1dba 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -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