From 7bd710a6586139aa763d9c0ac53e8681c51be6dd Mon Sep 17 00:00:00 2001 From: foobar Date: Tue, 25 Feb 2003 11:23:09 +0000 Subject: [PATCH] - Fixed bug #21224 (apache configure fails when using --enable-versioning) --- configure.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index ad259a08d7..87be5ece14 100644 --- a/configure.in +++ b/configure.in @@ -779,8 +779,12 @@ PHP_HELP_SEPARATOR([Other settings:]) 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 @@ AC_MSG_RESULT([$PHP_VERSIONING]) 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 -- 2.40.0