]> granicus.if.org Git - php/commitdiff
- MFH: be sure that at least one SAPI has been selected
authorPierre Joye <pajoye@php.net>
Thu, 25 Dec 2008 00:09:49 +0000 (00:09 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 25 Dec 2008 00:09:49 +0000 (00:09 +0000)
win32/build/configure.tail

index e74287d2aaaf6de08627114ab841168eee01202b..1977abb80700f1803765308c99c6e03d57086092 100644 (file)
@@ -2,5 +2,10 @@
 // $Id$
 // tail end of configure
 
+if (sapi_enabled.length < 1) {
+       MESSAGE("");
+       ERROR("No SAPI selected, please enable at least one SAPI.");
+}
+
 generate_files();