HTCondor Project List Archives



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-devel] --without-globus wasn't really /without/ globus



You'd think that if you ran configure --without-globus you'd get Condor without Globus, sorta. You get no Globus along with a host of gahp externals that depend on Globus and won't compile without it.

Below is a patch to fix this problem. Instead of relying purely on the platform test to see if globus is available this patch tests to see if globus is actually available before checking for externals that depend on it.

Best,


matt

--

diff --git a/src/configure.ac b/src/configure.ac
index 74d7bb3..1065935 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -2360,6 +2360,12 @@ CHECK_EXTERNAL([krb5], [1.4.3], [soft],
                MF_LIB_CHECK([krb5], [[krb5 krb5_free_principal]]))
 fi

+CHECK_EXTERNAL([globus],[4.0.5], [soft])
+
+if test -z "$_cv_ext_globus_version"; then
+  _cv_has_globus=no;
+fi
+
 _cv_has_gahp=$_cv_has_globus
 CHECK_EXTERNAL([gahp],[1.0.15], [soft])

@@ -2437,8 +2443,6 @@ CHECK_EXTERNAL([postgresql], [$pgsql_ver], [hard],
                [use PostgreSQL (provides Quill and other support)],
                MF_LIB_CHECK([postgresql], [[pq PQconnectdb]]))

-CHECK_EXTERNAL([globus],[4.0.5], [soft])
-
 # if globus is available on this platform and we actually have it
 if test "x$_cv_has_globus" = xyes -a "x$cv_ext_globus" = xyes; then
   # currently, if we are using globus (and the openssl