summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-05-30 19:46:56 +0000
committerPierre Joye <pajoye@php.net>2008-05-30 19:46:56 +0000
commit9ffc103c5ab1c59c82e840b3dd38ba603dd308d1 (patch)
treeefc4abcadb8c192011a2527afbbd875bf263630e
parent4ae8e34bf4c2e98dc684a2425b0d9b0c53e715cd (diff)
downloadphp-git-9ffc103c5ab1c59c82e840b3dd38ba603dd308d1.tar.gz
- not exported
-rw-r--r--ext/zip/config.m47
-rw-r--r--ext/zip/config.w321
2 files changed, 1 insertions, 7 deletions
diff --git a/ext/zip/config.m4 b/ext/zip/config.m4
index 8b635d1a1a..c7a5378963 100644
--- a/ext/zip/config.m4
+++ b/ext/zip/config.m4
@@ -95,12 +95,7 @@ yes
PHP_NEW_EXTENSION(zip, php_zip.c zip_stream.c $PHP_ZIP_SOURCES, $ext_shared)
PHP_ADD_BUILD_DIR($ext_builddir/lib, 1)
PHP_SUBST(ZIP_SHARED_LIBADD)
- ifdef([PHP_INSTALL_HEADERS],
- [
- dnl Sadly, this is a complete NOP for pecl extensions
- PHP_INSTALL_HEADERS(ext/zip/lib, [lib/zip.h lib/zipint.h lib/zip_alias.h lib/zipint_alias.h])
- ])
-
+
dnl so we always include the known-good working hack.
PHP_ADD_MAKEFILE_FRAGMENT
fi
diff --git a/ext/zip/config.w32 b/ext/zip/config.w32
index 62e8140974..b4083ad9a5 100644
--- a/ext/zip/config.w32
+++ b/ext/zip/config.w32
@@ -30,7 +30,6 @@ if (PHP_ZIP != "no") {
AC_DEFINE('HAVE_ZLIB', 1);
AC_DEFINE('HAVE_ZIP', 1);
- ADD_FLAG("CFLAGS_ZIP", "/D PHP_ZIP_EXPORTS ");
} else {
WARNING("zip not enabled; libraries and headers not found");
}