summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-12-09 18:28:03 +0000
committerWez Furlong <wez@php.net>2002-12-09 18:28:03 +0000
commitf57ac2fa056e2600268cc9b0041d4e8807588d93 (patch)
treef5d60cc39b54edbc0372803efa5c1a657f517161
parentb2a98beaeef434591ee5169acd934f8f5fd01d25 (diff)
downloadphp-git-f57ac2fa056e2600268cc9b0041d4e8807588d93.tar.gz
Centralize the fopencookie test.
-rw-r--r--configure.in2
-rw-r--r--ext/zip/config.m42
-rw-r--r--ext/zlib/config0.m41
3 files changed, 1 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 0ddc236648..e77d1fd68a 100644
--- a/configure.in
+++ b/configure.in
@@ -381,7 +381,7 @@ sys/ipc.h \
#endif
])
-
+PHP_FOPENCOOKIE
dnl Checks for typedefs, structures, and compiler characteristics.
dnl -------------------------------------------------------------------------
diff --git a/ext/zip/config.m4 b/ext/zip/config.m4
index 2f6756cfdf..8c66d6f5d0 100644
--- a/ext/zip/config.m4
+++ b/ext/zip/config.m4
@@ -34,8 +34,6 @@ if test "$PHP_ZIP" != "no"; then
PHP_ADD_LIBRARY_WITH_PATH(zzip, $ZZIPLIB_LIBDIR, ZIP_SHARED_LIBADD)
PHP_ADD_INCLUDE($ZZIPLIB_INCDIR)
- PHP_FOPENCOOKIE
-
PHP_NEW_EXTENSION(zip, zip.c, $ext_shared)
PHP_SUBST(ZIP_SHARED_LIBADD)
fi
diff --git a/ext/zlib/config0.m4 b/ext/zlib/config0.m4
index 494b277fa4..e407ff0742 100644
--- a/ext/zlib/config0.m4
+++ b/ext/zlib/config0.m4
@@ -50,5 +50,4 @@ if test "$PHP_ZLIB" != "no" -o "$PHP_ZLIB_DIR" != "no"; then
PHP_ADD_LIBRARY(z,, ZLIB_SHARED_LIBADD)
PHP_ADD_INCLUDE($ZLIB_INCDIR)
- PHP_FOPENCOOKIE
fi