From: Sascha Schumann Date: Tue, 2 Nov 1999 18:27:38 +0000 (+0000) Subject: Additional check for concurrent use of --with-{apache,apxs} X-Git-Tag: php-4.0b3_RC2~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11287bba4d7b0343c4787edcb36f3a0552f373ed;p=php Additional check for concurrent use of --with-{apache,apxs} --- 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`