summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2003-02-13 02:24:38 +0000
committerSascha Schumann <sas@php.net>2003-02-13 02:24:38 +0000
commit6ab6ad12a0c62a62b5a6ed20a7cbd23cb81599df (patch)
tree385c7a204dc6d8c18ad75eefcfd23e7161c29c38 /sapi
parentb0dd1b0eb0b219303a02e33b76ada27d337a6193 (diff)
downloadphp-git-6ab6ad12a0c62a62b5a6ed20a7cbd23cb81599df.tar.gz
portability work
Diffstat (limited to 'sapi')
-rw-r--r--sapi/thttpd/config.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/sapi/thttpd/config.m4 b/sapi/thttpd/config.m4
index 51f2c1122d..5cdb446f5e 100644
--- a/sapi/thttpd/config.m4
+++ b/sapi/thttpd/config.m4
@@ -4,10 +4,12 @@ dnl
AC_ARG_WITH(thttpd,
[ --with-thttpd=SRCDIR Build PHP as thttpd module],[
- if ! test -d $withval; then
+ if test ! -d $withval; then
AC_MSG_RESULT(thttpd directory does not exist ($withval))
fi
- if ! egrep thttpd.2.21b $withval/version.h >/dev/null; then
+ if egrep thttpd.2.21b $withval/version.h >/dev/null; then
+ :
+ else
AC_MSG_ERROR([This version only supports thttpd-2.21b])
fi
PHP_EXPAND_PATH($withval, THTTPD)