if test "$PHP_MYSQL" != "no"; then
AC_DEFINE(HAVE_MYSQL, 1, [Whether you have MySQL])
if test "$PHP_SAFE_MODE" = "yes"; then
+--- php-4.4.0/configure.in~ 2005-07-25 00:22:36.000000000 +0300
++++ php-4.4.0/configure.in 2005-07-25 01:05:09.000000000 +0300
+@@ -844,6 +844,9 @@
+ dnl -------------------------------------------------------------------------
+
+ if test "$PHP_VERSIONING" = "yes"; then
++ if test -n "$PHP_MODULES"; then
++ AC_MSG_ERROR([--enable-versioning cannot be used with shared modules])
++ fi
+ test -z "$PHP_SYM_FILE" && PHP_SYM_FILE="$abs_srcdir/sapi/$PHP_SAPI/php.sym"
+ if test -f "$PHP_SYM_FILE"; then
+ EXTRA_LDFLAGS="-export-symbols $PHP_SYM_FILE $EXTRA_LDFLAGS"