Commit 5dfde29d authored by Jens Hauke's avatar Jens Hauke Committed by Rob Latham

avoid dependency on GPFS if not requested

Par-tec had an issue with libmpi.so depending on libgpfs even without
romio configured to use it. Make the gpfs checks optional to remove
the dependency.
Signed-off-by: Rob Latham's avatarRob Latham <robl@mcs.anl.gov>
parent c1fa6086
......@@ -971,11 +971,13 @@ fi
AS_IF([test -n "$file_system_gpfs"],
[SYSDEP_INC=-I${prefix}/include], [SYSDEP_INC=])
AC_CHECK_HEADERS([gpfs.h gpfs_fcntl.h])
AS_IF([test "$ac_cv_header_gpfs_h" = "yes" -o "$ac_cv_header_gpfs_fcntl_h" = "yes"], [
AC_SEARCH_LIBS([gpfs_fcntl], [gpfs], [],
[AC_MSG_ERROR([Library containing gpfs_fcntl symbols not found])])
])
AS_IF([test -n "$file_system_gpfs"],
AC_CHECK_HEADERS([gpfs.h gpfs_fcntl.h])
AS_IF([test "$ac_cv_header_gpfs_h" = "yes" -o "$ac_cv_header_gpfs_fcntl_h" = "yes"], [
AC_SEARCH_LIBS([gpfs_fcntl], [gpfs], [],
[AC_MSG_ERROR([Library containing gpfs_fcntl symbols not found])])
])
)
# Check for presence and characteristics of async. I/O calls if
# not disabled.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment