summaryrefslogtreecommitdiff
path: root/macos/src/config-mac.h
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2017-11-13 17:08:38 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2017-11-27 14:33:37 +0100
commitcb5541c9f34fc29b0d7b8d89a3122c3fa46a6068 (patch)
treec4a39229b4a2bc71bd19548a3762cf85c9c21f2d /macos/src/config-mac.h
parentddbb075b70abdc8166f878f039c5efd27a9df3e0 (diff)
downloadlibxml2-cb5541c9f34fc29b0d7b8d89a3122c3fa46a6068.tar.gz
Fix libz and liblzma detection
If libz or liblzma are detected with pkg-config, AC_CHECK_HEADERS must not be run because the correct CPPFLAGS aren't set. It is actually not required have separate checks for LIBXML_ZLIB_ENABLED and HAVE_ZLIB_H. Only check for LIBXML_ZLIB_ENABLED and remove HAVE_ZLIB_H macro. Fixes bug 764657, bug 787041.
Diffstat (limited to 'macos/src/config-mac.h')
-rw-r--r--macos/src/config-mac.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/macos/src/config-mac.h b/macos/src/config-mac.h
index e9a8f9d9..4949bdd4 100644
--- a/macos/src/config-mac.h
+++ b/macos/src/config-mac.h
@@ -174,9 +174,6 @@
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H
-/* Define if you have the <zlib.h> header file. */
-#undef HAVE_ZLIB_H
-
/* Name of package */
#define PACKAGE