diff options
author | Thomas White <taw@physics.org> | 2017-10-09 11:09:03 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-10-09 11:09:03 +0200 |
commit | 70da1673a545bf9795e8bea51f708ff229ef2239 (patch) | |
tree | 68d5e88326c3261cde38388f05cc7ecaa615a59a /configure.ac | |
parent | 8ed0757a113059dca55ad795a231dfe4eb6f452b (diff) |
configure.ac: Fix CBFlib path variable name
Whoops.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files 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" |