]> granicus.if.org Git - php/commitdiff
Add check for broken apxs script
authorRasmus Lerdorf <rasmus@php.net>
Tue, 7 Dec 1999 16:52:13 +0000 (16:52 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Tue, 7 Dec 1999 16:52:13 +0000 (16:52 +0000)
configure.in

index 068a23fe6146e495654dad3e29cc3b66022fd9a0..e4885ca1aeb587a1e4a993c29abeaad72d7de36b 100644 (file)
@@ -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