diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index ba5969b2026..d5e618c4ca8 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -63,9 +63,11 @@ AC_ARG_WITH(gd, Set DIR to "shared" to build as a dl, or "shared,DIR" to build as a dl and still specify DIR.], [ + old_withval=$withval PHP_WITH_SHARED PHP_GD_JPEG PHP_GD_XPM + withval=$old_withval case "$withval" in no)