mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
portability work
This commit is contained in:
parent
b0dd1b0eb0
commit
6ab6ad12a0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user