Marcus Börger wrote:
a) provide a patch that explains the matter in short during configuration if
   the lib is missing and

Attached is a file to add the warning in configure.in


The warning is always on when building with MySQL support. I think we should leave it that way during BETA and the first version 5 release, just to let users know. After a while, we could only display it when the librairies are really missing.

Anyway, that's the way I saw the problem. The link inside the warning will be filled with a FAQ entry as soon as the docs are built, I saw something about it on CVS.

thanks,
Oliver
--
GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---) !O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++ h(*) r y+(?)
--- configure.in.old    2003-07-17 21:00:33.000000000 -0400
+++ configure.in        2003-07-17 20:58:08.000000000 -0400
@@ -1306,6 +1306,20 @@
 X
   fi
 
+  # Warn about linking with MySQL support with system librairies
+  if test "$PHP_MYSQL" != "no"; then
+cat <<X
++--------------------------------------------------------------------+
+|                        *** WARNING ***                             |
+|                                                                    |
+| Due to licensing constraints, MySQL librairies are not bundled     |
+| with the PHP source anymore. If you need to compile PHP with MySQL |
+| support, you need to have the correct librairies on your system.   |
+| Please visit http://www.php.net/manual/faq.databases.php for more  |
+| details.                                                           |
+X
+  fi
+
   # Warn about linking Apache with libpthread if oci8 extension is enabled on linux.
   if test "$PHP_OCI8" != "no" -o "$PHP_ORACLE" != "no"; then
     if test "$PHP_SAPI" = "apache"; then

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to