From 70da1673a545bf9795e8bea51f708ff229ef2239 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 9 Oct 2017 11:09:03 +0200 Subject: configure.ac: Fix CBFlib path variable name Whoops. --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 274b218d..62358b61 100644 --- a/configure.ac +++ b/configure.ac @@ -44,13 +44,13 @@ AC_MSG_CHECKING([whether to use CBFlib]) AS_IF([test "x$enable_cbf" != "xno"], [ AC_MSG_RESULT([yes]) - AS_IF([test "x$with_cbflib_dir" != "x"], + AS_IF([test "x$with_cbflib" != "x"], [ - dnl NB not ${with_cbflib_dir}/include/cbflib, because cbflib installs + dnl NB not ${with_cbflib}/include/cbflib, because cbflib installs dnl its own HDF5 headers which we do not want in the include path - CBF_CFLAGS="-I${with_cbflib_dir}/include" + CBF_CFLAGS="-I${with_cbflib}/include" dnl Fortunately no libhdf5.so in this folder - CBF_LIBS="-lcbf -L${with_cbflib_dir}/lib" + CBF_LIBS="-lcbf -L${with_cbflib}/lib" ], [ AC_CHECK_LIB([cbf], [cbf_make_handle], [ CBF_LIBS="-lcbf" -- cgit v1.2.3