diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ab806d23..a3a15482 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(crystfel, 0.4.2, taw@physics.org) +AC_INIT(crystfel, 0.4.3, taw@physics.org) AC_CONFIG_AUX_DIR([build-aux]) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE([subdir-objects]) @@ -232,6 +232,15 @@ 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], [ AC_DEFINE([HAVE_CLOCK_GETTIME], [1], @@ -296,4 +305,5 @@ HTML_DIR=${docdir}/reference AC_CONFIG_FILES(Makefile lib/Makefile doc/reference/Makefile libcrystfel/Makefile) +AC_CONFIG_FILES(libcrystfel/crystfel.pc) AC_OUTPUT |