From: Sascha Schumann Date: Tue, 12 Mar 2002 16:40:34 +0000 (+0000) Subject: php_new_extension X-Git-Tag: help~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9f706812d4077d1a0123926b9418c117570b876;p=php php_new_extension --- diff --git a/ext/zlib/Makefile.in b/ext/zlib/Makefile.in deleted file mode 100644 index bda6385578..0000000000 --- a/ext/zlib/Makefile.in +++ /dev/null @@ -1,7 +0,0 @@ - -LTLIBRARY_NAME = libzlib.la -LTLIBRARY_SOURCES = zlib.c zlib_fopen_wrapper.c -LTLIBRARY_SHARED_NAME = zlib.la -LTLIBRARY_SHARED_LIBADD = $(ZLIB_SHARED_LIBADD) - -include $(top_srcdir)/build/dynlib.mk diff --git a/ext/zlib/config0.m4 b/ext/zlib/config0.m4 index b947e41a83..29f6120358 100644 --- a/ext/zlib/config0.m4 +++ b/ext/zlib/config0.m4 @@ -9,7 +9,7 @@ PHP_ARG_WITH(zlib,for ZLIB support, [ --with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9).]) if test "$PHP_ZLIB" != "no" -o "$PHP_ZLIB_DIR" != "no"; then - PHP_EXTENSION(zlib, $ext_shared) + PHP_NEW_EXTENSION(zlib, zlib_fopen_wrapper.c, $ext_shared) PHP_SUBST(ZLIB_SHARED_LIBADD) if test "$PHP_ZLIB" != "yes" -a "$PHP_ZLIB" != "no"; then