Skip to content

Commit

Permalink
fix compilation against static hdf5
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdarwin committed Aug 11, 2016
1 parent 1a88547 commit df7e665
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions m4/mni_REQUIRE_MNILIBS.m4
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ AC_DEFUN([mni_REQUIRE_MINC],
mni_REQUIRE_LIB(netcdf,[#include <netcdf.h>],[int i = ncopen("",0);])
if test "$with_minc2" = "yes"; then
mni_REQUIRE_LIB(z,[#include <zlib.h>],[int f = compress2;])
mni_REQUIRE_LIB(dl,[#include <dlfcn.h>],[int f = dlopen("",0)])
mni_REQUIRE_LIB(hdf5,[#include <hdf5.h>],[int f = H5Fopen("",0,H5P_DEFAULT);])
mni_REQUIRE_LIB(minc2,[#include <minc.h>],[int i = miicv_create();])
AC_DEFINE([MINC2], 1, [Define if should build with MINC 2.0])
Expand Down

0 comments on commit df7e665

Please sign in to comment.