mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r1565] acconfig.h:
Added the GASS macro definition entry. configure: [Generated from configure.in] configure.in: Added Globus GASS driver configuation as --with-gass=INC,LIB option. Default is no => no GASS configured. src/H5config.h.in: [Generated from acconfig.h]
This commit is contained in:
parent
1419e16a65
commit
03efcfe00f
@ -39,3 +39,6 @@
|
||||
|
||||
/* Define if the ioctl TIOCGWINSZ is defined */
|
||||
#undef HAVE_TIOCGWINSZ
|
||||
|
||||
/* Define if we have Globus GASS support */
|
||||
#undef HAVE_GASS
|
||||
|
67
configure.in
67
configure.in
@ -359,6 +359,73 @@ case $withval in
|
||||
;;
|
||||
esac
|
||||
|
||||
dnl ----------------------------------------------------------------------
|
||||
dnl Is Globus-GASS present? If so then we can compile in the GASS driver.
|
||||
dnl The reason we need to check for so many libs because globus is not
|
||||
dnl quite modular yet. Globus folks plan to reduce the library dependencies.
|
||||
dnl
|
||||
AC_SUBST(GASS)
|
||||
sASS=yes
|
||||
AC_SUBST(TESTGASS)
|
||||
TESTGASS='$(srcdir)/testgass'
|
||||
|
||||
AC_ARG_WITH(gass,[ --with-gass=INC,LIB Use the GASS driver [default=no]],
|
||||
,withval=no)
|
||||
case $withval in
|
||||
yes)
|
||||
AC_CHECK_HEADERS(globus_common.h,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(xnet,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_common,globus_module_activate,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_dc,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_nexus,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_client,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_cache,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GASS TESTGASS)
|
||||
;;
|
||||
no)
|
||||
AC_MSG_CHECKING(for GASS)
|
||||
AC_MSG_RESULT(suppressed)
|
||||
unset GASS TESTGASS
|
||||
;;
|
||||
*)
|
||||
gass_inc="`echo $withval |cut -f1 -d,`"
|
||||
if test "X" != "$gass_inc"; then
|
||||
saved_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS -I$gass_inc"
|
||||
AC_CHECK_HEADERS(globus_common.h,,
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
unset GASS TESTGASS
|
||||
)
|
||||
else
|
||||
AC_CHECK_HEADERS(globus_common.h)
|
||||
fi
|
||||
|
||||
gass_lib="`echo $withval |cut -f2 -d, -s`"
|
||||
if test "X" != "$gass_lib"; then
|
||||
saved_LDFLAGS="$LDFLAGS"
|
||||
LDFLAGS="$LDFLAGS -L$gass_lib"
|
||||
AC_CHECK_LIB(xnet,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_common,globus_module_activate,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_dc,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_nexus,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_client,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_cache,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GASS TESTGASS)
|
||||
else
|
||||
AC_CHECK_LIB(xnet,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_common,globus_module_activate,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_dc,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_nexus,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_client,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_cache,main,,unset GASS TESTGASS)
|
||||
AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GASS TESTGASS)
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test "X-" != "X-$GASS"; then
|
||||
AC_DEFINE(HAVE_GASS)
|
||||
fi
|
||||
|
||||
dnl ----------------------------------------------------------------------
|
||||
dnl How does one figure out the local time zone? Anyone know of a
|
||||
dnl Posix way to do this?
|
||||
|
@ -74,6 +74,9 @@
|
||||
/* Define if the ioctl TIOCGWINSZ is defined */
|
||||
#undef HAVE_TIOCGWINSZ
|
||||
|
||||
/* Define if we have Globus GASS support */
|
||||
#undef HAVE_GASS
|
||||
|
||||
/* The number of bytes in a __int64. */
|
||||
#undef SIZEOF___INT64
|
||||
|
||||
@ -248,6 +251,9 @@
|
||||
/* Define if you have the waitpid function. */
|
||||
#undef HAVE_WAITPID
|
||||
|
||||
/* Define if you have the <globus_common.h> header file. */
|
||||
#undef HAVE_GLOBUS_COMMON_H
|
||||
|
||||
/* Define if you have the <io.h> header file. */
|
||||
#undef HAVE_IO_H
|
||||
|
||||
@ -299,6 +305,24 @@
|
||||
/* Define if you have the df library (-ldf). */
|
||||
#undef HAVE_LIBDF
|
||||
|
||||
/* Define if you have the globus_common library (-lglobus_common). */
|
||||
#undef HAVE_LIBGLOBUS_COMMON
|
||||
|
||||
/* Define if you have the globus_dc library (-lglobus_dc). */
|
||||
#undef HAVE_LIBGLOBUS_DC
|
||||
|
||||
/* Define if you have the globus_gass_cache library (-lglobus_gass_cache). */
|
||||
#undef HAVE_LIBGLOBUS_GASS_CACHE
|
||||
|
||||
/* Define if you have the globus_gass_client library (-lglobus_gass_client). */
|
||||
#undef HAVE_LIBGLOBUS_GASS_CLIENT
|
||||
|
||||
/* Define if you have the globus_gass_file library (-lglobus_gass_file). */
|
||||
#undef HAVE_LIBGLOBUS_GASS_FILE
|
||||
|
||||
/* Define if you have the globus_nexus library (-lglobus_nexus). */
|
||||
#undef HAVE_LIBGLOBUS_NEXUS
|
||||
|
||||
/* Define if you have the jpeg library (-ljpeg). */
|
||||
#undef HAVE_LIBJPEG
|
||||
|
||||
@ -314,5 +338,8 @@
|
||||
/* Define if you have the nsl library (-lnsl). */
|
||||
#undef HAVE_LIBNSL
|
||||
|
||||
/* Define if you have the xnet library (-lxnet). */
|
||||
#undef HAVE_LIBXNET
|
||||
|
||||
/* Define if you have the z library (-lz). */
|
||||
#undef HAVE_LIBZ
|
||||
|
Loading…
x
Reference in New Issue
Block a user