cvs: php4(PHP_4_3) / configure.in
| From: | Jani Taskinen | Date: | Tue, 25 Feb 2003 11:23:24 +0000 |
| Subject: | cvs: php4(PHP_4_3) / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19189@lists.php.net to get a copy of this message | ||
sniper Tue Feb 25 06:23:24 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4 configure.in
Log:
MFH: Fixed bug #21224 (apache configure fails when using --enable-versioning)
Index: php4/configure.in
diff -u php4/configure.in:1.396.2.35 php4/configure.in:1.396.2.36
--- php4/configure.in:1.396.2.35 Tue Feb 25 02:41:05 2003
+++ php4/configure.in Tue Feb 25 06:23:24 2003
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.396.2.35 2003/02/25 07:41:05 sniper Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.396.2.36 2003/02/25 11:23:24 sniper Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -779,8 +779,12 @@
AC_MSG_CHECKING([whether to enable versioning])
AC_ARG_ENABLE(versioning,
[ --enable-versioning Export only required symbols.
- See INSTALL for more information],[
- PHP_VERSIONING=$enableval
+ See INSTALL for more information], [
+ if test "x$APXS" != "x"; then
+ PHP_VERSIONING=$enableval
+ else
+ PHP_VERSIONING=no
+ fi
],[
PHP_VERSIONING=no
])
@@ -789,7 +793,7 @@
if test "$PHP_VERSIONING" = "yes"; then
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="-export-symbols $PHP_SYM_FILE $EXTRA_LDFLAGS"
fi
fi