diff --git a/m4/mni_REQUIRE_MNILIBS.m4 b/m4/mni_REQUIRE_MNILIBS.m4 index 925d33e..caef3b6 100644 --- a/m4/mni_REQUIRE_MNILIBS.m4 +++ b/m4/mni_REQUIRE_MNILIBS.m4 @@ -8,6 +8,7 @@ AC_DEFUN([mni_REQUIRE_MINC], mni_REQUIRE_LIB(netcdf,[#include ],[int i = ncopen("",0);]) if test "$with_minc2" = "yes"; then mni_REQUIRE_LIB(z,[#include ],[int f = compress2;]) + mni_REQUIRE_LIB(dl,[#include ],[int f = dlopen("",0)]) mni_REQUIRE_LIB(hdf5,[#include ],[int f = H5Fopen("",0,H5P_DEFAULT);]) mni_REQUIRE_LIB(minc2,[#include ],[int i = miicv_create();]) AC_DEFINE([MINC2], 1, [Define if should build with MINC 2.0])