cvs: /php4 configure.in
| From: | Sascha Schumann | Date: | Tue, 02 Nov 1999 18:28:09 +0000 |
| Subject: | cvs: /php4 configure.in | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5839@lists.php.net to get a copy of this message | ||
sas Tue Nov 2 13:28:09 1999 EDT
Modified files:
/php4 configure.in
Log:
Additional check for concurrent use of --with-{apache,apxs}
Index: php4/configure.in
diff -u php4/configure.in:1.18 php4/configure.in:1.19
--- php4/configure.in:1.18 Thu Oct 7 17:04:20 1999
+++ php4/configure.in Tue Nov 2 13:27:38 1999
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.18 1999/10/07 21:04:20 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.19 1999/11/02 18:27:38 sas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(0)
@@ -6,10 +6,11 @@
AC_INIT(main.c)
if test "$with_shared_apache" != "no" && test -n
"$with_shared_apache" ; then
- echo ""
- echo "ERROR: --with-shared-apache is not supported."
- echo " Please read INSTALL.DSO for instructions on using APXS."
- exit 1
+ AC_MSG_ERROR(--with-shared-apache is not supported. Please refer to the documentation for using
APXS)
+fi
+
+if test -n "$with_apache" && test -n "$with_apxs"; then
+ AC_MSG_ERROR(--with-apache and --with-apxs cannot be used together)
fi
cwd=
pwd