dnl $Header: //guest/jon_parise/api/php/config.m4#3 $ 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, $ext_shared) PHP_REQUIRE_CXX grep '^RELEASE' $P4API_DIR/Version | sed -e 's/^.* = /#define P4API_RELEASE \"/' -e 's/ ;$/\"/' > $ext_srcdir/p4api_version.h fi
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#8 | 6131 | Jon_Parise |
Added the P4API path as a build-time configuration option and improved the Unix build's P4API path detection code. |
||
#7 | 6126 | Jon_Parise | Correcting the C++ linkage when building the extension as a shared module. | ||
#6 | 6083 | Jon_Parise | Search both /usr and /usr/local hierarchies for the Perforce API. | ||
#5 | 6055 | Jon_Parise | Updating to work with the Perforce 2007.2 API. | ||
#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. |