]> andersk Git - gssapi-openssh.git/commitdiff
use existing zlib install if available
authorjbasney <jbasney>
Tue, 20 Feb 2007 00:06:53 +0000 (00:06 +0000)
committerjbasney <jbasney>
Tue, 20 Feb 2007 00:06:53 +0000 (00:06 +0000)
nmi/testscript

index b5eaa049efd14d1740508eb71e68416f47c90134..c6f3c42a68eb99fbb0acc3a245f48b7547aa6fa1 100755 (executable)
@@ -39,12 +39,17 @@ make gsi-openssh install
 . $GLOBUS_LOCATION/etc/globus-user-env.sh
 cd ..
 echo ==================================================
-echo Building zlib-1.2.3...
-cd zlib-1.2.3
-./configure --prefix=$ZLIB_LOCATION
-make
-make install
-cd ..
+if test -d /prereq/zlib-1.2.3; then
+  $ZLIB_LOCATION=/prereq/zlib-1.2.3
+  echo zlib found in $ZLIB_LOCATION
+else
+  echo Building zlib-1.2.3...
+  cd zlib-1.2.3
+  ./configure --prefix=$ZLIB_LOCATION
+  make
+  make install
+  cd ..
+fi
 echo ==================================================
 GLOBUS_FLAVOR_NAME=`gpt-query -name=gsi_openssh | perl -n -e 'if (/gsi_openssh-(.*)-pgm/){print "$1\n";}'|head -1`
 export GLOBUS_FLAVOR_NAME
This page took 0.091499 seconds and 5 git commands to generate.