summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-06-20 22:12:22 +0000
committerZeev Suraski <zeev@php.net>2000-06-20 22:12:22 +0000
commit35e3efbd41e472ba8a0fee9347ace28d29408284 (patch)
tree596508bcb7326545c949cb66838dc4f764ee0b0d /configure.in
parentd57210fb0b0992b96f8cce2d11af8f269885a7b7 (diff)
downloadphp-git-35e3efbd41e472ba8a0fee9347ace28d29408284.tar.gz
Warn about using the built-in MySQL library
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in20
1 files changed, 18 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 51624eb48f..2efff19d82 100644
--- a/configure.in
+++ b/configure.in
@@ -852,7 +852,8 @@ if true; then
if test "$REDIRECT" = "0"; then
if test "$DISCARD_PATH" = "0"; then
echo "+--------------------------------------------------------------------+"
- echo "| Warning: |"
+ echo "| *** WARNING *** |"
+ echo "| |"
echo "| You will be compiling the CGI version of PHP without any |"
echo "| redirection checking. By putting this cgi binary somewhere in |"
echo "| your web space, users may be able to circumvent existing .htaccess |"
@@ -867,7 +868,8 @@ if true; then
rm -f config.cache
cat <<X
+--------------------------------------------------------------------+
-| ATTENTION! |
+| *** ATTENTION *** |
+| |
| Something is likely to be messed up here, because the configure |
| script was not able to detect a simple feature on your platform. |
| This is often caused by incorrect configuration parameters. Please |
@@ -879,6 +881,20 @@ cat <<X
X
fi
+ if test "$MYSQL_MODULE_TYPE" = "builtin" ; then
+cat <<X
++--------------------------------------------------------------------+
+| *** WARNING *** |
+| |
+| You chose to compile PHP with the built-in MySQL support. If you |
+| are compiling a server module, and intend to use other server |
+| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, |
+| mod_perl) you must NOT rely on PHP's built-in MySQL support, and |
+| instead build it with your local MySQL support files, by adding |
+| --with-mysql=/path/to/mysql to your configure line. |
+X
+ fi
+
echo "+--------------------------------------------------------------------+"
echo "| License: |"
echo "| This software is subject to the PHP License, available in this |"