diff options
| author | Greg Beaver <cellog@php.net> | 2008-01-18 00:30:10 +0000 |
|---|---|---|
| committer | Greg Beaver <cellog@php.net> | 2008-01-18 00:30:10 +0000 |
| commit | 5f8d225834a09d05c7834ce2538f8d70cb3dd8bd (patch) | |
| tree | 7afe33a3dd188ba88d7338d596d76daa86324f19 /ext/zip/config.m4 | |
| parent | 0d074e23d358a63ac83d97da1a50cddfa2a0db2a (diff) | |
| download | php-git-5f8d225834a09d05c7834ce2538f8d70cb3dd8bd.tar.gz | |
MFPECL: install headers
Diffstat (limited to 'ext/zip/config.m4')
| -rw-r--r-- | ext/zip/config.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/zip/config.m4 b/ext/zip/config.m4 index c5edaa725e..271bd2faa0 100644 --- a/ext/zip/config.m4 +++ b/ext/zip/config.m4 @@ -66,4 +66,12 @@ if test "$PHP_ZIP" != "no"; then 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 |
