On Fri, 18 Jul 2003, Melvyn Sopacua wrote:
>At 11:25 7/18/2003, Jani Taskinen wrote:
>
>> >Nice first shot. But it also displays the message if you did disable mysql.
>> >What we really need is a message that pops up only if the user tried to
>> use a
>> >bundled lib which is no longer available. So there must be a corresponding
>> >change in the ext/mysql/config.m4 file.
>>
>> How can you know if they wanted to use bundled lib or not? :)
But this won't work as the configure bails out if no mysql headers/libs
are found..(when you use plain --with-mysql default paths are searched)
--Jani
>Index: configure.in
>===================================================================
>RCS file: /repository/php-src/configure.in,v
>retrieving revision 1.458
>diff -u -r1.458 configure.in
>--- configure.in 2 Jul 2003 01:08:26 -0000 1.458
>+++ configure.in 18 Jul 2003 10:15:25 -0000
>@@ -1294,6 +1294,19 @@
> | information about your setup. |
> X
> fi
>+ if test "$PHP_MYSQL" = "no"; then
>+cat <<X
>++--------------------------------------------------------------------+
>+| *** WARNING *** |
>+| |
>+| You chose to compile PHP without MySQL extension. Because recent |
>+| studies have shown, that you might not read FAQ's and blatently |
>+| mail developers we pleasently inform you, that there is no bundled |
>+| MySQL extension anymore, so you will have to compile it yourself. |
>+| Mails to developers about this issue, are charged at 1 euro per |
>+| line, incoming and 10 euros per line for replies. |
>+X
>+ fi
>
> if test "$PHP_DB" != "no"; then
> cat <<X
>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php