[waf] fix hdf5 selection
authorPaul Brossier <piem@piem.org>
Thu, 17 Jan 2019 13:41:08 +0000 (14:41 +0100)
committerPaul Brossier <piem@piem.org>
Thu, 17 Jan 2019 13:41:08 +0000 (14:41 +0100)
wscript

diff --git a/wscript b/wscript
index dda32f8..4d6fad6 100644 (file)
--- a/wscript
+++ b/wscript
@@ -464,7 +464,7 @@ def configure(ctx):
     if (ctx.options.enable_memcpy == True):
         ctx.define('HAVE_MEMCPY_HACKS', 1)
 
-    if (ctx.options.enable_hdf5 != True):
+    if (ctx.options.enable_hdf5 != False):
         ctx.check_cfg(package='hdf5', args='--cflags --libs',
                 uselib_store='HDF5', mandatory=ctx.options.enable_hdf5)
         ctx.check(lib=['hdf5_hl'], use = ['HDF5'],