Browse Source

--with-foo causes $withval to be set to "yes," not ""

PHP-4.0.5
Sascha Schumann 27 years ago
parent
commit
99133bf4bb
  1. 2
      ext/gd/config.m4

2
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

Loading…
Cancel
Save