summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-08-13 21:57:31 +0000
committerSascha Schumann <sas@php.net>2001-08-13 21:57:31 +0000
commit7efc4d8b5460b23e5a0d77452681e5d314a94bc3 (patch)
treedc2a083f36133f4f565d644f1d79db33b57077ff /sapi
parent75c22e9a4a9028371b894a07a193394f5a3adf04 (diff)
downloadphp-git-7efc4d8b5460b23e5a0d77452681e5d314a94bc3.tar.gz
Add check for thttpd-2.21b. We support nothing else for now, because
this version is rock-stable using the combined set of patches.
Diffstat (limited to 'sapi')
-rw-r--r--sapi/thttpd/config.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/thttpd/config.m4 b/sapi/thttpd/config.m4
index 81469e825c..3883a55a49 100644
--- a/sapi/thttpd/config.m4
+++ b/sapi/thttpd/config.m4
@@ -1,6 +1,7 @@
AC_ARG_WITH(thttpd,
[ --with-thttpd=SRCDIR Build PHP as thttpd module],[
test -d $withval || AC_MSG_RESULT(thttpd directory does not exist ($withval))
+ egrep thttpd.2.21b $withval/version.h || AC_MSG_RESULT([This version only supports thttpd-2.21b])
PHP_EXPAND_PATH($withval, THTTPD)
PHP_TARGET_RDYNAMIC
INSTALL_IT="\