From a9f706812d4077d1a0123926b9418c117570b876 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Tue, 12 Mar 2002 16:40:34 +0000 Subject: [PATCH] php_new_extension --- ext/zlib/Makefile.in | 7 ------- ext/zlib/config0.m4 | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 ext/zlib/Makefile.in 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 -- 2.50.1