Re: [PHP4BETA] cvs: /php4 SAPI.h configure.in php_ini.h /php4/dl phpdl.h /php4/ext/gd gd.c gdttf.c php3_gd.h /php4/ext/mysql php_mysql.c php_mysql.h
/php4/ext/standard php_output.h /php4/pear README
| From: | Sascha Schumann | Date: | Wed, 01 Dec 1999 23:43:49 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4 SAPI.h configure.in php_ini.h /php4/dl phpdl.h /php4/ext/gd gd.c gdttf.c php3_gd.h /php4/ext/mysql php_mysql.c php_mysql.h /php4/ext/standard php_output.h /php4/pear README |
||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7212@lists.php.net to get a copy of this message | ||
On Thu, Dec 02, 1999 at 12:30:31AM +0100, Stig Bakken wrote:
> On Wed, 1 Dec 1999, Sascha Schumann wrote:
>
> | On Thu, Dec 02, 1999 at 12:13:37AM +0100, Stig Bakken wrote:
> | > On Wed, 1 Dec 1999, Sascha Schumann wrote:
> | >
> | > | On Wed, Dec 01, 1999 at 10:59:47PM -0000, Stig Bakken wrote:
> | > | > ssb Wed Dec 1 17:59:47 1999 EDT
> | > | >
> | > | > Modified files:
> | > | > /php4 SAPI.h configure.in php_ini.h
> | > | > /php4/dl phpdl.h
> | > | > /php4/ext/gd gd.c gdttf.c php3_gd.h
> | > | > /php4/ext/mysql php_mysql.c php_mysql.h
> | > | > /php4/ext/standard php_output.h
> | > | > /php4/pear README
> | > | > Log:
> | > | > - Fixed some warnings in maintainer-mode.
> | > | > - Made mysql and gd work as shared extensions again by defining
> | > | > COMPILE_DL if PIC is defined.
> | > | > # We need a better solution for building .so extensions than this
> | > | > # PIC/COMPILE_DL hack!
> | > |
> | > | Hm, are you sure we want this? -DPIC is automatically added
> | > | by libtool, if shared libraries are built.
> | >
> | > Hm, you're right. I'll back out those patches for now, but we need to
> | > solve this to un-break --with-xxx=shared. Adding an AC_SUBST'ed variable
> | > for each extension that is set to "-DCOMPILE_DL=1" within each extension
> | > is a possibility, although not very clean.
> |
> | How about a special build mode where all extensions are
> | compiled in shared mode? This mode could be used to generate
> | dl'able modules without the need to perform a complete PHP
> | build.
>
> That would be nice, but I still need to build separate extensions shared.
Why not add module-specific COMPILE_DL_MODNAME? That avoids
the AC_SUBST bloat, but enables you to address each module
individually.
--
Regards,
Sascha Schumann
Consultant