summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-11-02 18:27:38 +0000
committerSascha Schumann <sas@php.net>1999-11-02 18:27:38 +0000
commit11287bba4d7b0343c4787edcb36f3a0552f373ed (patch)
treecad8a5fdfe8c2a6f89f3ed8815b1b6f2f70c992e
parentf31c9d7d2adc709625f7c3b49178b77e425222f3 (diff)
downloadphp-git-11287bba4d7b0343c4787edcb36f3a0552f373ed.tar.gz
Additional check for concurrent use of --with-{apache,apxs}
-rw-r--r--configure.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 40daa151a9..037abedf9c 100644
--- a/configure.in
+++ b/configure.in
@@ -6,10 +6,11 @@ divert(0)
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`