summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>1999-12-07 16:52:13 +0000
committerRasmus Lerdorf <rasmus@php.net>1999-12-07 16:52:13 +0000
commit7284ec7ab4d43b317e5e9e90b9683b06af65c6d1 (patch)
treebae902b0b2a2829592cc66fd047a9cce442bb647
parent7b7192dda32d38ad0511fd21c016333053b7829c (diff)
downloadphp-git-7284ec7ab4d43b317e5e9e90b9683b06af65c6d1.tar.gz
Add check for broken apxs script
-rw-r--r--configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 068a23fe61..e4885ca1ae 100644
--- a/configure.in
+++ b/configure.in
@@ -801,6 +801,16 @@ if true; then
else
rm -f internal_functions.c.old
fi
+
+ 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. |"
+ fi
+ fi
# Warn about CGI version with no extra security options.
if test "$PHP_SAPI" = "cgi"; then