cvs: /php4/ext/ftp Makefile.in config.m4 php_ftp.c
| From: | Sascha Schumann | Date: | Tue, 02 May 2000 02:02:18 +0000 |
| Subject: | cvs: /php4/ext/ftp Makefile.in config.m4 php_ftp.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14307@lists.php.net to get a copy of this message | ||
sas Tue May 2 04:02:18 2000 EDT
Modified files:
/php4/ext/ftp Makefile.in config.m4 php_ftp.c
Log:
Make ftp buildable as shared module
Index: php4/ext/ftp/Makefile.in
diff -u php4/ext/ftp/Makefile.in:1.7 php4/ext/ftp/Makefile.in:1.8
--- php4/ext/ftp/Makefile.in:1.7 Tue May 2 00:38:28 2000
+++ php4/ext/ftp/Makefile.in Tue May 2 04:02:18 2000
@@ -1,5 +1,6 @@
LTLIBRARY_NAME = libftp.la
LTLIBRARY_SOURCES = php_ftp.c ftp.c
+LTLIBRARY_SHARED_NAME = ftp.la
include $(top_srcdir)/build/dynlib.mk
Index: php4/ext/ftp/config.m4
diff -u php4/ext/ftp/config.m4:1.4 php4/ext/ftp/config.m4:1.5
--- php4/ext/ftp/config.m4:1.4 Tue Mar 28 01:33:37 2000
+++ php4/ext/ftp/config.m4 Tue May 2 04:02:18 2000
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.4 2000/03/27 23:33:37 sas Exp $
+dnl $Id: config.m4,v 1.5 2000/05/02 02:02:18 sas Exp $
dnl config.m4 for extension ftp
dnl don't forget to call PHP_EXTENSION(ftp)
@@ -7,5 +7,5 @@
if test "$PHP_FTP" = "yes"; then
AC_DEFINE(HAVE_FTP,1,[Whether you want FTP support])
- PHP_EXTENSION(ftp)
+ PHP_EXTENSION(ftp, $ext_shared)
fi
Index: php4/ext/ftp/php_ftp.c
diff -u php4/ext/ftp/php_ftp.c:1.17 php4/ext/ftp/php_ftp.c:1.18
--- php4/ext/ftp/php_ftp.c:1.17 Sat Apr 15 16:19:59 2000
+++ php4/ext/ftp/php_ftp.c Tue May 2 04:02:18 2000
@@ -28,7 +28,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_ftp.c,v 1.17 2000/04/15 14:19:59 andi Exp $ */
+/* $Id: php_ftp.c,v 1.18 2000/05/02 02:02:18 sas Exp $ */
#include "php.h"
@@ -77,6 +77,10 @@
NULL,
STANDARD_MODULE_PROPERTIES
};
+
+#ifdef COMPILE_DL_FTP
+ZEND_GET_MODULE(php_ftp)
+#endif
static void ftp_destructor_ftpbuf(ftpbuf_t *ftp)
{