sas Sun Oct 13 07:28:07 2002 EDT
Modified files:
/php4/sapi/thttpd config.m4
Log:
Use if block rather than an or expression
Index: php4/sapi/thttpd/config.m4
diff -u php4/sapi/thttpd/config.m4:1.15 php4/sapi/thttpd/config.m4:1.16
--- php4/sapi/thttpd/config.m4:1.15 Thu Mar 7 09:20:01 2002
+++ php4/sapi/thttpd/config.m4 Sun Oct 13 07:28:06 2002
@@ -1,11 +1,17 @@
dnl
-dnl $Id: config.m4,v 1.15 2002/03/07 14:20:01 sas Exp $
+dnl $Id: config.m4,v 1.16 2002/10/13 11:28:06 sas Exp $
dnl
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 >/dev/null || AC_MSG_RESULT([This version
only supports thttpd-2.21b])
+set -x
+ 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
+ AC_MSG_ERROR([This version only supports thttpd-2.21b])
+ fi
+set +x
PHP_EXPAND_PATH($withval, THTTPD)
PHP_TARGET_RDYNAMIC
INSTALL_IT="\
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php