]> granicus.if.org Git - php/commitdiff
Additional check for concurrent use of --with-{apache,apxs}
authorSascha Schumann <sas@php.net>
Tue, 2 Nov 1999 18:27:38 +0000 (18:27 +0000)
committerSascha Schumann <sas@php.net>
Tue, 2 Nov 1999 18:27:38 +0000 (18:27 +0000)
configure.in

index 40daa151a9a2727f244214e54839711b383ea81f..037abedf9c7a6e8d1051949335c7afd47d559f8a 100644 (file)
@@ -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`