代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/Yaf 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
PHP_ARG_ENABLE(yaf, whether to enable yaf support,
[ --enable-yaf Enable yaf support])
AC_ARG_ENABLE(yaf-debug,
[ --enable-yaf-debug Enable yaf debug mode default=no],
[PHP_YAF_DEBUG=$enableval],
[PHP_YAF_DEBUG="no"])
if test "$PHP_YAF" != "no"; then
if test "$PHP_YAF_DEBUG" = "yes"; then
AC_DEFINE(PHP_YAF_DEBUG,1,[define to 1 if you want to change the POST/GET by php script])
else
AC_DEFINE(PHP_YAF_DEBUG,0,[define to 1 if you want to change the POST/GET by php script])
fi
AC_MSG_CHECKING([PHP version])
tmp_version=$PHP_VERSION
if test -z "$tmp_version"; then
if test -z "$PHP_CONFIG"; then
AC_MSG_ERROR([php-config not found])
fi
php_version=`$PHP_CONFIG --version 2>/dev/null|head -n 1|sed -e 's#\([0-9]\.[0-9]*\.[0-9]*\)\(.*\)#\1#'`
else
php_version=`echo "$tmp_version"|sed -e 's#\([0-9]\.[0-9]*\.[0-9]*\)\(.*\)#\1#'`
fi
if test -z "$php_version"; then
AC_MSG_ERROR([failed to detect PHP version, please report])
fi
ac_IFS=$IFS
IFS="."
set $php_version
IFS=$ac_IFS
yaf_php_version=`expr [$]1 \* 1000000 + [$]2 \* 1000 + [$]3`
if test "$yaf_php_version" -le "5002000"; then
AC_MSG_ERROR([You need at least PHP 5.2.0 to be able to use this version of Yaf. PHP $php_version found])
else
AC_MSG_RESULT([$php_version, ok])
fi
PHP_NEW_EXTENSION(yaf,
yaf.c \
yaf_application.c \
yaf_bootstrap.c \
yaf_dispatcher.c \
yaf_exception.c \
yaf_config.c \
configs/yaf_config_ini.c \
configs/yaf_config_simple.c \
yaf_request.c \
requests/yaf_request_http.c \
requests/yaf_request_simple.c \
yaf_response.c \
responses/yaf_response_http.c \
responses/yaf_response_cli.c \
yaf_view.c \
views/yaf_view_interface.c \
views/yaf_view_simple.c \
yaf_controller.c \
yaf_action.c \
yaf_router.c \
routes/yaf_route_interface.c \
routes/yaf_route_static.c \
routes/yaf_route_simple.c \
routes/yaf_route_supervar.c \
routes/yaf_route_regex.c \
routes/yaf_route_rewrite.c \
routes/yaf_route_map.c \
yaf_loader.c \
yaf_registry.c \
yaf_plugin.c \
yaf_session.c,
$ext_shared)
PHP_ADD_BUILD_DIR([$ext_builddir/configs])
PHP_ADD_BUILD_DIR([$ext_builddir/requests])
PHP_ADD_BUILD_DIR([$ext_builddir/responses])
PHP_ADD_BUILD_DIR([$ext_builddir/views])
PHP_ADD_BUILD_DIR([$ext_builddir/routes])
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。