From 7284ec7ab4d43b317e5e9e90b9683b06af65c6d1 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Tue, 7 Dec 1999 16:52:13 +0000 Subject: [PATCH] Add check for broken apxs script --- configure.in | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.40.0