aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Config
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-04-23 08:57:30 +0000
committerAlexey Samsonov <samsonov@google.com>2013-04-23 08:57:30 +0000
commita0bd5df0867e054b9740bc734325cdeabfe3825a (patch)
treecd3f5a4b35a67740aaef272f5f02213c7235d350 /include/llvm/Config
parentee03c949b85036b68c261dcc27dca064ee7e525d (diff)
downloadexternal_llvm-a0bd5df0867e054b9740bc734325cdeabfe3825a.zip
external_llvm-a0bd5df0867e054b9740bc734325cdeabfe3825a.tar.gz
external_llvm-a0bd5df0867e054b9740bc734325cdeabfe3825a.tar.bz2
Add more guards around zlib-dependent code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config')
-rw-r--r--include/llvm/Config/config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake
index 408c590..97af695 100644
--- a/include/llvm/Config/config.h.cmake
+++ b/include/llvm/Config/config.h.cmake
@@ -230,6 +230,9 @@
/* Define to 1 if you have the `udis86' library (-ludis86). */
#undef HAVE_LIBUDIS86
+/* Define to 1 if you have the 'z' library (-lz). */
+#cmakedefine HAVE_LIBZ ${HAVE_LIBZ}
+
/* Define to 1 if you have the <limits.h> header file. */
#cmakedefine HAVE_LIMITS_H ${HAVE_LIMITS_H}