summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-23 10:21:40 +0000
committerSascha Schumann <sas@php.net>2000-05-23 10:21:40 +0000
commit99133bf4bb64d427d09e912e6f2f0126ff6afab1 (patch)
tree72d181930ca519d6fe0d29bc347e3a116b2234c2
parentf51150584c8953cab231e38fed9c1d3b0f713022 (diff)
downloadphp-git-99133bf4bb64d427d09e912e6f2f0126ff6afab1.tar.gz
--with-foo causes $withval to be set to "yes," not ""
-rw-r--r--ext/gd/config.m42
1 files changed, 1 insertions, 1 deletions
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