diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-03-18 14:28:43 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-03-18 14:28:43 (GMT) |
commit | 604d93e8a0f18bf6369946f1e9302372abf3780b (patch) | |
tree | 9b89f3cdfa07b884cd7f5f7a935cb6ba9e597700 | |
parent | 88437143334511c15d273b6aa606eb0145a1a2a0 (diff) | |
download | hdf5-604d93e8a0f18bf6369946f1e9302372abf3780b.zip hdf5-604d93e8a0f18bf6369946f1e9302372abf3780b.tar.gz hdf5-604d93e8a0f18bf6369946f1e9302372abf3780b.tar.bz2 |
[svn-r24821] remove link to mdhim and pbl since they are embedded in IOD.
-rw-r--r-- | configure.ac | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac index 4a95ab7..caf8c36 100644 --- a/configure.ac +++ b/configure.ac @@ -1931,7 +1931,7 @@ case $withval in yes) HAVE_IOD="yes" AC_CHECK_HEADERS([iod_api.h]) - AC_CHECK_LIB([iod], [iod_initialize],[MYIOD_LIBS="-liod -lmdhim -lpbl"], [unset HAVE_IOD]) + AC_CHECK_LIB([iod], [iod_initialize],[MYIOD_LIBS="-liod"], [unset HAVE_IOD]) AC_SUBST([MYIOD_LIBS]) if test -z "$HAVE_IOD" -a -n "$HDF5_CONFIG_ABORT"; then AC_MSG_ERROR([couldn't find iod library]) @@ -1953,10 +1953,6 @@ case $withval in if test -n "$withval"; then iod_inc="$withval/include" iod_lib="$withval/lib" - pbl_inc="$withval/include" - pbl_lib="$withval/lib" - mdhim_inc="$withval/include" - mdhim_lib="$withval/lib" fi ;; esac @@ -1976,25 +1972,20 @@ case $withval in saved_AM_LDFLAGS="$AM_LDFLAGS" if test -n "$iod_inc"; then - CPPFLAGS="$CPPFLAGS -I$iod_inc -I$mdhim_inc -I$pbl_inc" - AM_CPPFLAGS="$AM_CPPFLAGS -I$iod_inc -I$mdhim_inc -I$pbl_inc" + CPPFLAGS="$CPPFLAGS -I$iod_inc" + AM_CPPFLAGS="$AM_CPPFLAGS -I$iod_inc" fi AC_CHECK_HEADERS([iod_api.h],,[CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS"]) if test -n "$iod_lib"; then - LDFLAGS="$LDFLAGS -L$iod_lib -L$mdhim_lib -L$pbl_lib" - AM_LDFLAGS="$AM_LDFLAGS -L$iod_lib -L$mdhim_lib -L$pbl_lib" + LDFLAGS="$LDFLAGS -L$iod_lib" + AM_LDFLAGS="$AM_LDFLAGS -L$iod_lib" fi - AC_CHECK_LIB([pbl], [pbl_malloc],, - [LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset HAVE_IOD]) - AC_CHECK_LIB([mdhim], [mdhimFinalize],, - [LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset HAVE_IOD], - [-lpbl]) AC_CHECK_LIB([iod], [iod_finalize],, [LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset HAVE_IOD], - [-lmdhim -lpbl]) + ) if test -z "$HAVE_IOD" -a -n "$HDF5_CONFIG_ABORT"; then AC_MSG_ERROR([couldn't find iod library]) |