diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 121 |
1 files changed, 0 insertions, 121 deletions
diff --git a/configure.in b/configure.in index eb230c2..63065f2 100644 --- a/configure.in +++ b/configure.in @@ -1166,127 +1166,6 @@ if test "x$HAVE_SZLIB" = "xyes" -a "x$HAVE_SZLIB_H" = "xyes"; then fi fi -dnl ---------------------------------------------------------------------- -dnl Is SSL library present? It is needed by GLOBUS-GASS and Grid Storage -dnl driver. SSL must be tested before them. -dnl -AC_SUBST([SSL]) SSL=yes -AC_ARG_WITH([ssl], - [AC_HELP_STRING([--with-ssl=LIB], - [Use the SSL library [default=no]])],, - withval=no) - -case "$withval" in - yes) - AC_CHECK_LIB([crypto], [main],, [unset SSL]) - AC_CHECK_LIB([ssl], [SSL_get_version],, [unset SSL]) - ;; - no) - AC_MSG_CHECKING([for SSL]) - AC_MSG_RESULT([suppressed]) - unset SSL - ;; - *) - saved_LDFLAGS="$LDFLAGS" - if test "X$with_ssl" != "X/usr/lib"; then - LDFLAGS="$LDFLAGS -L$with_ssl" - fi - AC_CHECK_LIB([crypto], [main],, [LDFLAGS="$saved_LDFLAGS"; unset SSL]) - AC_CHECK_LIB([ssl], [SSL_get_version],, [LDFLAGS="$saved_LDFLAGS"; unset SSL]) - ;; -esac - -dnl ---------------------------------------------------------------------- -dnl Is GLOBUS-GASS(1.1.0 or 1.1.1) Library present? It is also needed by -dnl the Grid Storage driver. -dnl -AC_SUBST([GASS]) GASS="yes" -AC_SUBST([TESTGASS]) TESTGASS='$(srcdir)/testgass' -AC_ARG_WITH([gass], - [AC_HELP_STRING([--with-gass=DIR], - [Use the GASS library [default=no]])],, - withval=no) - -case "$withval" in - yes) - AC_CHECK_HEADERS(globus_common.h,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_common,globus_module_activate,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gass_cache,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gaa,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gss,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gss_assist,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_io,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gass_transfer_assist,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gass_transfer,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 - ;; - *) - case "$withval" in - *,*) - gass_inc="`echo $withval | cut -f1 -d,`" - gass_lib="`echo $withval | cut -f2 -d, -s`" - ;; - *) - if test -n "$withval"; then - gass_inc="$withval/include" - gass_lib="$withval/lib" - fi - ;; - esac - - dnl Trying to include -I/usr/include and -L/usr/lib is redundant and - dnl can mess some compilers up. - if test "X$gass_inc" = "X/usr/include"; then - gass_inc="" - fi - if test "X$gass_lib" = "X/usr/lib"; then - gass_lib="" - fi - - if test -n "$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 - - if test -n "$gass_lib"; then - saved_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -L$gass_lib" - AC_CHECK_LIB(globus_common,globus_module_activate,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gass_cache,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gaa,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gss,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gss_assist,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_io,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gass_transfer_assist,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gass_transfer,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GASS TESTGASS) - else - AC_CHECK_LIB(globus_common,globus_module_activate,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gass_cache,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gaa,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gss,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gss_assist,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_io,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gass_transfer_assist,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gass_transfer,main,,unset GASS TESTGASS) - AC_CHECK_LIB(globus_gass_file,globus_gass_open,,unset GASS TESTGASS) - fi - ;; -esac - -if test -n "$GASS"; then - AC_DEFINE([HAVE_GASS], [1], [Define if the Globus GASS is defined]) -fi dnl ---------------------------------------------------------------------- dnl Are SRB Client and other system libraries(socket, elf) present? |