cvs: php4 /sapi/apache/ config.m4
| From: | Sascha Schumann | Date: | Mon, 15 May 2000 16:37:32 +0000 |
| Subject: | cvs: php4 /sapi/apache/ config.m4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-15061@lists.php.net to get a copy of this message | ||
sas Mon May 15 18:37:32 2000 EDT
Modified files:
/php4/sapi/apache config.m4
Log:
Complain loudly and stop configuration, if we cannot run apxs.
Index: php4/sapi/apache/config.m4
diff -u php4/sapi/apache/config.m4:1.26 php4/sapi/apache/config.m4:1.27
--- php4/sapi/apache/config.m4:1.26 Sun Mar 26 21:47:26 2000
+++ php4/sapi/apache/config.m4 Mon May 15 18:37:32 2000
@@ -19,6 +19,13 @@
else
AC_EXPAND_PATH($withval, APXS)
fi
+
+ if ! $APXS -q CFLAGS >/dev/null 2>&1; then
+ AC_MSG_RESULT()
+ $APXS
+ AC_MSG_ERROR([Sorry, I cannot run apxs. Either you need to install Perl or you need to pass
the absolute path to apxs by using --with-apxs=/absolute/path/to/apxs])
+ fi
+
APXS_LDFLAGS="@SYBASE_LFLAGS@ @SYBASE_LIBS@ @SYBASE_CT_LFLAGS@ @SYBASE_CT_LIBS@"
APXS_INCLUDEDIR=
$APXS -q INCLUDEDIR
APXS_CFLAGS=$APXS -q CFLAGS