From 11287bba4d7b0343c4787edcb36f3a0552f373ed Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Tue, 2 Nov 1999 18:27:38 +0000 Subject: [PATCH] Additional check for concurrent use of --with-{apache,apxs} --- configure.in | 9 +++++---- 1 file 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` -- 2.40.0