aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/meson.build')
-rw-r--r--libcrystfel/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcrystfel/meson.build b/libcrystfel/meson.build
index 0a9d43ac..f2b6bbe5 100644
--- a/libcrystfel/meson.build
+++ b/libcrystfel/meson.build
@@ -1,6 +1,11 @@
# libcrystfel
zlibdep = dependency('zlib', required : true)
+if cc.has_function('gzbuffer',
+ prefix: '#include <zlib.h>',
+ dependencies: zlibdep)
+ conf_data.set10('HAVE_GZBUFFER', 1)
+endif
fftwdep = dependency('fftw3', required : false)
if fftwdep.found()