From d4d6da98507a86baa9a3e323a66630ee5acbde84 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Wed, 10 May 2023 16:02:57 +0200 Subject: [PATCH] Fix no-HDF5 --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index dede482..376f6c7 100644 --- a/configure.ac +++ b/configure.ac @@ -130,8 +130,7 @@ AC_ARG_WITH([hdf5], AS_HELP_STRING([--with-hdf5=PATH], [Path to HDF5 library and headers]), [ with_hdf5="$withval"], [with_hdf5="yes"]) -AS_IF([test "x$with_hdf5" == "xno"], [ - AC_DEFINE([HAVE_HDF5], 0, [Define to 1 if HDF5 is available]) ], +AS_IF([test "x$with_hdf5" == "xno"], [], [test "x$with_hdf5" != "xyes"], [ HDF5_LIBS="-lhdf5" HDF5_PATH="$with_hdf5"