[PHP-DEV] unable to build the latest CVS --with-gd=shared From: Oleg Makarenko (omakarenko <email protected>)
Date: 10/31/00

can't build the latest CVS (and several versions before, probably right
after the mega patch) with --with-gd=shared option :(

configure fails with "Unable to find libgd.(a|so) anywhere under
shared"...

the following patch seems to help (as PHP_WITH_SHARED macro changes the
$withval)

--- ext/gd/config.m4.orig Mon Oct 23 14:57:45 2000
+++ ext/gd/config.m4 Mon Oct 23 15:07:53 2000
@@ -63,8 +63,8 @@
                           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
+ old_withval=$withval
   PHP_GD_JPEG
   PHP_GD_XPM
   withval=$old_withval

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>