From 92058254984777b4a7bec0142ad4dde7e86ccb44 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 12 Nov 2012 16:25:27 +0100 Subject: Use given HDF5 path when checking for it in configure --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9c1096ec..1a1bc848 100644 --- a/configure.ac +++ b/configure.ac @@ -232,11 +232,13 @@ AC_CHECK_LIB([pthread], [sched_setaffinity], [ ]) +LIBS_SAVE=$LIBS +LIBS=$HDF5_LIBS AC_CHECK_LIB([hdf5], [H5Fcreate], [], [ AC_MSG_ERROR([HDF5 not found!]) ]) - +LIBS=$LIBS_SAVE AC_CHECK_LIB([rt], [clock_gettime], -- cgit v1.2.3