From: Rasmus Lerdorf Date: Tue, 7 Dec 1999 16:52:13 +0000 (+0000) Subject: Add check for broken apxs script X-Git-Tag: RETURN_REF_BP~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7284ec7ab4d43b317e5e9e90b9683b06af65c6d1;p=php Add check for broken apxs script --- 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