dnl $Header: //guest/tony_smith/perforce/API/php/config.m4#2 $ dnl vim: expandtab PHP_ARG_WITH(perforce, whether to enable Perforce client functions, [ --with-perforce[=DIR] Enable support for Perforce client functions]) if test "$PHP_PERFORCE" != "no"; then if test -r "$PHP_PERFORCE"; then P4API_DIR=$PHP_PERFORCE; else P4API_DIR=p4api fi AC_MSG_CHECKING(for Perforce client API in $P4API_DIR) if test -r $P4API_DIR/clientapi.h; then AC_MSG_RESULT(found) else AC_MSG_ERROR(Please specify the path to the Perforce client API) fi AC_DEFINE(HAVE_PERFORCE,1,[ ]) PHP_SUBST(PERFORCE_SHARED_LIBADD) PHP_ADD_LIBRARY_WITH_PATH("supp", $P4API_DIR, PERFORCE_SHARED_LIBADD) PHP_ADD_LIBRARY_WITH_PATH("rpc", $P4API_DIR, PERFORCE_SHARED_LIBADD) PHP_ADD_LIBRARY_WITH_PATH("client", $P4API_DIR, PERFORCE_SHARED_LIBADD) PHP_ADD_INCLUDE($P4API_DIR) PHP_NEW_EXTENSION(perforce, perforce.cpp php_clientapi.cpp p4result.cpp php_clientuser.cpp, $ext_shared) PHP_REQUIRE_CXX fi
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 4627 | Tony Smith |
Rework Jon Parise's PHP interface to work like P4Perl and P4Ruby, mostly. It's pretty close, but lacking method autoloading so the only way to run commands is through the Run() method. This should be considered early beta quality at the moment, Jon will be pulling the bits he likes back into his part of the depot after he's reviewed it. |
||
#1 | 4595 | Tony Smith | Copy Jon Parise's PHP integration into my directory. | ||
//guest/jon_parise/api/php/config.m4 | |||||
#4 | 4324 | Jon_Parise |
Adding Win32 support. This includes the addition of a config.w32 Win32 build file, a handful of ZTS fixes, the extraction of the PHPClientUser class (and its p4api header dependency) to a separate header file, and the removal of the p4api_version.h auto-generated file (which may return should I figure out how to generate it using JScript). |
||
#3 | 4293 | Jon_Parise | Use $Header$ keywords instead of $Id$. | ||
#2 | 4292 | Jon_Parise |
Changing these files to the 'ktext' filetype so that the RCS keywords will be expanded. |
||
#1 | 4291 | Jon_Parise | Initial version of the Perforce extension for PHP. |