cvs: /php3 configure.in
| From: | Rasmus Lerdorf | Date: | Mon, 20 Dec 1999 18:07:37 +0000 |
| Subject: | cvs: /php3 configure.in | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13874@lists.php.net to get a copy of this message | ||
rasmus Mon Dec 20 13:07:37 1999 EDT
Modified files:
/php3 configure.in
Log:
Fix apxs -q problem
Index: php3/configure.in
diff -u php3/configure.in:1.482 php3/configure.in:1.483
--- php3/configure.in:1.482 Tue Dec 7 11:39:17 1999
+++ php3/configure.in Mon Dec 20 13:07:35 1999
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.482 1999/12/07 16:39:17 rasmus Exp $
+dnl $Id: configure.in,v 1.483 1999/12/20 18:07:35 rasmus Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
@@ -303,6 +303,9 @@
CFLAGS_SHLIB="
$APXS -q CFLAGS_SHLIB"
LDFLAGS_SHLIB="$APXS -q LDFLAGS_SHLIB"
CFLAGS="$CFLAGS $APXS -q CFLAGS"
+ if test "a$APXS -q LD_SHLIB" = "a" || test "$APXS -q
LIBEXECDIR" = "modules"; then
+ PHP_APXS_BROKEN=yes
+ fi
PHP_LIBS=-L/usr/local/lib
STRONGHOLD=
AC_DEFINE(APACHE)
@@ -3007,15 +3010,13 @@
chmod +x extra/gd/bdf2gdfont
], [
-if test -n "$APXS" ; then
- if test "a$APXS -q LD_SHLIB" = "a" || test "$APXS -q
LIBEXECDIR" = "modules"; then
- echo "=================================================================="
- echo "WARNING: Your $APXS script is most likely broken."
- echo ""
- echo "Please go read http://www.php.net/FAQ.php3#4.11 and make the"
- echo "changes described there and try again."
- echo "=================================================================="
- fi
+if test -n "$PHP_APXS_BROKEN" ; then
+ echo "=================================================================="
+ echo "WARNING: Your $APXS script is most likely broken."
+ echo ""
+ echo "Please go read http://www.php.net/FAQ.php3#4.11 and make the"
+ echo "changes described there and try again."
+ echo "=================================================================="
fi
if test -n "$APXS_CC" && test "$APXS_CC" != "$CC" ; then