]> granicus.if.org Git - php/commitdiff
portability work
authorSascha Schumann <sas@php.net>
Thu, 13 Feb 2003 02:24:38 +0000 (02:24 +0000)
committerSascha Schumann <sas@php.net>
Thu, 13 Feb 2003 02:24:38 +0000 (02:24 +0000)
sapi/thttpd/config.m4

index 51f2c1122d724c48f4cf5421145d97a0df3e4ba9..5cdb446f5e8f7afe55b198ed70ade1f7b1c9e1f1 100644 (file)
@@ -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)