]> granicus.if.org Git - php/commitdiff
Fix annoying $withval interaction in GD configure stuff
authorRasmus Lerdorf <rasmus@php.net>
Sat, 21 Oct 2000 12:03:52 +0000 (12:03 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 21 Oct 2000 12:03:52 +0000 (12:03 +0000)
ext/gd/config.m4

index ba5969b202608a891c885b58953d7d8ee6455625..d5e618c4ca8d1c1ebd28b88d06c49ac499a3a5ba 100644 (file)
@@ -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)