aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-11-12 16:25:27 +0100
committerThomas White <taw@physics.org>2012-11-12 16:25:27 +0100
commit92058254984777b4a7bec0142ad4dde7e86ccb44 (patch)
tree87240543842001dd6855b0038b6f57768832a0b3
parent53b993553f5031adb9dc6e8a641d976d4a242293 (diff)
Use given HDF5 path when checking for it in configure
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
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],