sniper          Wed Sep 11 12:40:35 2002 EDT

  Modified files:              
    /php4/ext/gd        config.m4 
  Log:
  For now, check only when not using bundled GD lib.
  
  
Index: php4/ext/gd/config.m4
diff -u php4/ext/gd/config.m4:1.113 php4/ext/gd/config.m4:1.114
--- php4/ext/gd/config.m4:1.113 Wed Sep 11 11:34:44 2002
+++ php4/ext/gd/config.m4       Wed Sep 11 12:40:35 2002
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.113 2002/09/11 15:34:44 sniper Exp $
+dnl $Id: config.m4,v 1.114 2002/09/11 16:40:35 sniper Exp $
 dnl
 
 dnl
@@ -364,11 +364,11 @@
   else
     GDLIB_CFLAGS="-I$GD_INCLUDE $GDLIB_FCLAGS"
     PHP_ADD_INCLUDE($GD_INCLUDE)
+  
+    PHP_CHECK_LIBRARY(gd, gdImageCreate, [], [
+      AC_MSG_ERROR([GD build test failed. Please check the config.log for details.])
+    ], [ -L$GD_LIB $GD_SHARED_LIBADD ])
   fi
-
-  PHP_CHECK_LIBRARY(gd, gdImageCreate, [], [
-    AC_MSG_ERROR([GD build test failed. Please check the config.log for details.])
-  ], [ -L$GD_LIB $GD_SHARED_LIBADD ])
 
   PHP_SUBST(GDLIB_CFLAGS)
   PHP_SUBST(GD_SHARED_LIBADD)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to