summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2017-12-29 01:29:10 +0200
committerGrazvydas Ignotas <notasas@gmail.com>2018-01-14 18:52:23 +0200
commit87f723408b3f4c088dcb819e88922918ae064d72 (patch)
tree0f0754f51568633b07a751539d93e016bdfa8484 /configure.ac
parentb7347cc3131685591f90eb94f6362a679307067e (diff)
downloadmesa-87f723408b3f4c088dcb819e88922918ae064d72.tar.gz
mesa-87f723408b3f4c088dcb819e88922918ae064d72.tar.bz2
mesa-87f723408b3f4c088dcb819e88922918ae064d72.zip
android,configure,meson: define HAVE_ZLIB
The next change wants to use some optional zlib functionality, however not all platforms currently use zlib. Based on earlier Jordan Justen's patches and their review feedback. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 79f275d3914..e236a3c54f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -906,6 +906,7 @@ AC_CHECK_FUNC([posix_memalign], [DEFINES="$DEFINES -DHAVE_POSIX_MEMALIGN"])
dnl Check for zlib
PKG_CHECK_MODULES([ZLIB], [zlib >= $ZLIB_REQUIRED])
+DEFINES="$DEFINES -DHAVE_ZLIB"
dnl Check for pthreads
AX_PTHREAD