forked from laruence/yaf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c2a3c70
Showing
142 changed files
with
21,524 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Yaf | ||
Xinchen Hui<[email protected]> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
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 yaf_request.c yaf_response.c yaf_view.c yaf_controller.c yaf_action.c yaf_router.c yaf_loader.c yaf_registry.c yaf_plugin.c yaf_session.c, $ext_shared) | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// $Id: config.w32 765 2010-10-21 13:04:03Z huixinchen $ | ||
// vim:ft=javascript | ||
|
||
ARG_ENABLE("yaf", "enable yaf support", "no"); | ||
|
||
if (PHP_YAF == "yes") { | ||
EXTENSION("yaf", "yaf.c yaf_application.c yaf_loader.c yaf_bootstrap.c yaf_config.c yaf_dispatcher.c yaf_registry.c yaf_controller.c yaf_action.c yaf_view.c yaf_request.c yaf_response.c yaf_router.c yaf_exception.c yaf_plugin.c yaf_session.c"); | ||
|
||
AC_DEFINE("HAVE_YAF", 1, "Have Yaf Support"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
K 25 | ||
svn:wc:ra_dav:version-url | ||
V 50 | ||
/repository/!svn/ver/315957/pecl/yaf/trunk/configs | ||
END | ||
ini.c | ||
K 25 | ||
svn:wc:ra_dav:version-url | ||
V 56 | ||
/repository/!svn/ver/315757/pecl/yaf/trunk/configs/ini.c | ||
END | ||
simple.c | ||
K 25 | ||
svn:wc:ra_dav:version-url | ||
V 59 | ||
/repository/!svn/ver/315957/pecl/yaf/trunk/configs/simple.c | ||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
10 | ||
|
||
dir | ||
318209 | ||
https://svn.php.net/repository/pecl/yaf/trunk/configs | ||
https://svn.php.net/repository | ||
|
||
|
||
|
||
2011-09-01T09:03:32.053706Z | ||
315957 | ||
laruence | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
c90b9560-bf6c-de11-be94-00142212c4b1 | ||
|
||
ini.c | ||
file | ||
|
||
|
||
|
||
|
||
2011-10-08T13:42:29.000000Z | ||
988b9736cecfe88b24c9166f6094c224 | ||
2011-08-30T08:08:40.929069Z | ||
315757 | ||
laruence | ||
has-props | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
23749 | ||
|
||
simple.c | ||
file | ||
|
||
|
||
|
||
|
||
2011-10-08T13:42:29.000000Z | ||
626883bdcf38c10fe676a79a01ab7342 | ||
2011-09-01T09:03:32.053706Z | ||
315957 | ||
laruence | ||
has-props | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
12269 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
K 12 | ||
svn:keywords | ||
V 9 | ||
Id Author | ||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
K 12 | ||
svn:keywords | ||
V 9 | ||
Id Author | ||
END |
Oops, something went wrong.