mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
Use if block rather than an or expression
This commit is contained in:
parent
bfc3250187
commit
240cdb743e
@ -4,8 +4,14 @@ 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="\
|
||||
|
Loading…
Reference in New Issue
Block a user