cvs: php4 /ext/gd/ config.m4

[email protected] ("Sascha Schumann")
Newsgroups php.version4
Message-ID <cvssas959077301@cvsserver>
sas		Tue May 23 12:21:41 2000 EDT

  Modified files:
    /php4/ext/gd	config.m4 
  Log:
  --with-foo causes $withval to be set to "yes," not ""
  
  
Index: php4/ext/gd/config.m4
diff -u php4/ext/gd/config.m4:1.29 php4/ext/gd/config.m4:1.30
--- php4/ext/gd/config.m4:1.29	Thu Apr 20 16:59:59 2000
+++ php4/ext/gd/config.m4	Tue May 23 12:21:40 2000
@@ -3,7 +3,7 @@
         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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.