diff options
author | Sascha Schumann <sas@php.net> | 1999-12-30 04:07:46 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-12-30 04:07:46 +0000 |
commit | 2c99bef442d71a455628628e932daf26aaec8a46 (patch) | |
tree | f4a7ca3e976ff07d3d6a730bded4ed1598b6ff8d /ext/zlib | |
parent | e3af8ed3217b0a3bd46382e523bb12cfdc12e230 (diff) | |
download | php-git-2c99bef442d71a455628628e932daf26aaec8a46.tar.gz |
Get rid of config.h.stub. Note that you should embed a comment about
what the respective define does into the AC_DEFINE macro. I.e.
AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
Diffstat (limited to 'ext/zlib')
-rw-r--r-- | ext/zlib/config.h.stub | 2 | ||||
-rw-r--r-- | ext/zlib/config.m4 | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/ext/zlib/config.h.stub b/ext/zlib/config.h.stub deleted file mode 100644 index 5d6dcad205..0000000000 --- a/ext/zlib/config.h.stub +++ /dev/null @@ -1,2 +0,0 @@ -/* Define if you have the zlib library */ -#define HAVE_ZLIB 0 diff --git a/ext/zlib/config.m4 b/ext/zlib/config.m4 index d6537c7b86..e4111b9dca 100644 --- a/ext/zlib/config.m4 +++ b/ext/zlib/config.m4 @@ -12,7 +12,7 @@ AC_ARG_WITH(zlib, yes) AC_MSG_RESULT(yes) PHP_EXTENSION(zlib) - AC_CHECK_LIB(z, gzgets, [AC_DEFINE(HAVE_ZLIB)], + AC_CHECK_LIB(z, gzgets, [AC_DEFINE(HAVE_ZLIB,,[ ])], [AC_MSG_ERROR(Zlib module requires zlib >= 1.0.9.)]) AC_ADD_LIBRARY(z) ;; @@ -24,7 +24,7 @@ AC_ARG_WITH(zlib, PHP_EXTENSION(zlib) old_LIBS=$LIBS LIBS="$LIBS -L$withval/lib" - AC_CHECK_LIB(z, gzgets, [AC_DEFINE(HAVE_ZLIB)], + AC_CHECK_LIB(z, gzgets, [AC_DEFINE(HAVE_ZLIB,,[ ])], [AC_MSG_ERROR(Zlib module requires zlib >= 1.0.9.)]) LIBS=$old_LIBS AC_ADD_LIBRARY_WITH_PATH(z, $withval/lib) |