File: bootstrap

package info (click to toggle)
globus-xio 2.8-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,320 kB
  • ctags: 2,912
  • sloc: ansic: 33,944; sh: 8,579; makefile: 448
file content (36 lines) | stat: -rwxr-xr-x 1,003 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#! /bin/sh

# checking for the GLOBUS_LOCATION

if test "x$GLOBUS_LOCATION" = "x"; then
    echo "ERROR Please specify GLOBUS_LOCATION" >&2
    exit 1
fi

if [ ! -f ${GLOBUS_LOCATION}/libexec/globus-bootstrap.sh ]; then
    echo "ERROR: Unable to locate \${GLOBUS_LOCATION}/libexec/globus-bootstrap.sh"
    echo "       Please ensure that you have installed the globus-core package and"
    echo "       that GLOBUS_LOCATION is set to the proper directory"
    exit
fi

echo -n "Checking for builtin drivers... "
builtins=`ls builtins | grep -v CVS |grep -v Makefile`
builtin_makefiles=
delim=
if test "X$builtins" != "X" ; then
  echo
  for builtin in $builtins ; do
    if test -f builtins/$builtin/Makefile.am ; then
      builtin_makefiles="$builtin_makefiles builtins/$builtin/Makefile"
      echo "Including driver: $builtin"
    fi
  done
else
  echo "none found"
fi

cp -f configure.in.in configure.in
echo "$builtin_makefiles)" >> configure.in

. ${GLOBUS_LOCATION}/libexec/globus-bootstrap.sh