cvs: pecl /apc config.w32 /apd config.w32 /bcompiler config.w32 php_bcompiler.h /cvsclient config.w32 cvsclient.c
| From: | Wez Furlong | Date: | Fri, 19 Dec 2003 22:02:02 +0000 |
| Subject: | cvs: pecl /apc config.w32 /apd config.w32 /bcompiler config.w32 php_bcompiler.h /cvsclient config.w32 cvsclient.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-598@lists.php.net to get a copy of this message | ||
wez Fri Dec 19 17:02:02 2003 EDT
Added files:
/pecl/bcompiler config.w32
/pecl/cvsclient config.w32
/pecl/apc config.w32
/pecl/apd config.w32
Modified files:
/pecl/bcompiler php_bcompiler.h
/pecl/cvsclient cvsclient.c
Log:
config.w32 files for apc, apd and bcompiler (don't compile under php5).
Make cvsclient build under win32
Index: pecl/bcompiler/php_bcompiler.h
diff -u pecl/bcompiler/php_bcompiler.h:1.12 pecl/bcompiler/php_bcompiler.h:1.13
--- pecl/bcompiler/php_bcompiler.h:1.12 Sat Apr 5 02:09:02 2003
+++ pecl/bcompiler/php_bcompiler.h Fri Dec 19 17:01:59 2003
@@ -13,14 +13,14 @@
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
- | Authors: Alan Knowles <alan@akbkhome.com> (php module) |
- | Daniel Cowgill <dan@mail.communityconnect.com> |
+ | Authors: Alan Knowles <alan@akbkhome.com> (php module) |
+ | Daniel Cowgill <dan@mail.communityconnect.com> |
| George Schlossnagle <george@lethargy.org> |
| Mike Bretz <mike@metropolis-ag.de> |
+----------------------------------------------------------------------+
*/
-
+/* $Id: php_bcompiler.h,v 1.13 2003/12/19 22:01:59 wez Exp $ */
#include "ext/standard/file.h"
#ifndef PHP_BCOMPILER_H
Index: pecl/cvsclient/cvsclient.c
diff -u pecl/cvsclient/cvsclient.c:1.2 pecl/cvsclient/cvsclient.c:1.3
--- pecl/cvsclient/cvsclient.c:1.2 Sat Nov 29 23:55:58 2003
+++ pecl/cvsclient/cvsclient.c Fri Dec 19 17:02:00 2003
@@ -29,7 +29,9 @@
#include "php_network.h"
#include "ext/standard/url.h"
#include "ext/standard/info.h"
+#ifndef PHP_WIN32
#include <sys/socket.h>
+#endif
#include <ctype.h>
#define PHP_CVSCLIENT_REQ_ARGUMENT 0x00000001
@@ -340,6 +342,7 @@
}
break;
header_loop:
+ ;
}
filesize = atoi(response);
add_assoc_long(wrapperdata, "filesize", filesize);
@@ -421,7 +424,7 @@
#endif
};
-PHPAPI php_stream_wrapper php_stream_cvsclient_wrapper = {
+php_stream_wrapper php_stream_cvsclient_wrapper = {
&cvsclient_stream_wops,
NULL,
1 /* is_url */
Index: pecl/bcompiler/config.w32
+++ pecl/bcompiler/config.w32
// $Id: config.w32,v 1.1 2003/12/19 22:01:59 wez Exp $
// vim:ft=javascript
ARG_ENABLE("bcompiler", "BCOMPILER support", "no");
if (PHP_BCOMPILER != "no") {
if (PHP_VERSION > 4) {
WARNING('bcompiler does not yet compiler with php >= 5');
} else {
EXTENSION('bcompiler', 'bcompiler.c');
AC_DEFINE('HAVE_BCOMPILER', 1);
}
}
Index: pecl/cvsclient/config.w32
+++ pecl/cvsclient/config.w32
// $Id: config.w32,v 1.1 2003/12/19 22:02:00 wez Exp $
// vim:ft=javascript
ARG_WITH("cvsclient", "cvsclient support", "no");
if (PHP_CVSCLIENT != "no") {
EXTENSION('cvsclient', 'cvsclient.c');
AC_DEFINE('WITH_CVSCLIENT', 1);
}
Index: pecl/apc/config.w32
+++ pecl/apc/config.w32
// $Id: config.w32,v 1.1 2003/12/19 22:02:01 wez Exp $
// vim:ft=javascript
ARG_ENABLE("apc", "Alternative PHP Cache", "no");
if (PHP_APC != "no") {
if (PHP_VERSION > 4) {
WARNING('APC does not yet compile with php >= 5');
} else {
EXTENSION('apc', 'apc.c apc_cache.c apc_compile.c apc_debug.c apc_main.c \
apc_optimizer.c apc_pair.c apc_shm.c apc_sma.c apc_stack.c apc_zend.c \
php_apc.c');
AC_DEFINE('HAVE_APC', 1);
}
}
Index: pecl/apd/config.w32
+++ pecl/apd/config.w32
// $Id: config.w32,v 1.1 2003/12/19 22:02:01 wez Exp $
// vim:ft=javascript
ARG_ENABLE("apd", "Alternative PHP Debugger", "no");
if (PHP_APD != "no") {
if (PHP_VERSION > 4) {
WARNING('APD does not yet compile with php >= 5');
} else {
EXTENSION('apd', 'apd_lib.c apd_stack.c opcode.c php_apd.c win32compat.c');
AC_DEFINE('HAVE_APD', 1);
}
}