]> granicus.if.org Git - php/commitdiff
Add check for thttpd-2.21b. We support nothing else for now, because
authorSascha Schumann <sas@php.net>
Mon, 13 Aug 2001 21:57:31 +0000 (21:57 +0000)
committerSascha Schumann <sas@php.net>
Mon, 13 Aug 2001 21:57:31 +0000 (21:57 +0000)
this version is rock-stable using the combined set of patches.

sapi/thttpd/config.m4

index 81469e825c9176ffc1b397fce1b73d5623cc9681..3883a55a49e18fc71899ac429f57739907ee9078 100644 (file)
@@ -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="\