3
# checking for the GLOBUS_LOCATION
5
if test "x$GLOBUS_LOCATION" = "x"; then
6
echo "ERROR Please specify GLOBUS_LOCATION" >&2
13
echo "ERROR: bootstrap failed!"
21
for program in automake aclocal autoconf autoheader
23
($program --version ) > /dev/null 2>&1 || {
24
echo "ERROR: $program not found" >&2
31
# test for local macros
32
if test -d "./config"; then
33
config="$config -I ./config"
36
# test to see if GPT macros are in a seperate location
37
if test ! -f "$GLOBUS_LOCATION/share/globus_aclocal/gpt_autoconf_macros.m4"; then
38
if test "x$GPT_LOCATION" = "x"; then
39
echo "ERROR Globus Packaging Tools not found" >&2
40
echo "ERROR either set GPT_LOCATION or install them in $GLOBUS_LOCATION" >&2
43
config="$config -I $GPT_LOCATION/share/globus_aclocal"
46
config="$config -I $GLOBUS_LOCATION/share/globus_aclocal"
49
if test "x$GPT_LOCATION" = "x"; then
50
GPT_LOCATION=$GLOBUS_LOCATION
53
echo "running aclocal $config"
54
aclocal $config || error
56
if test -f acconfig.h ; then
57
echo "running autoheader"
61
echo "running libtoolize --copy --force"
62
libtoolize --copy --force || \
63
libtoolize --copy --force || error
65
echo "running automake --copy -add-missing --foreign"
66
automake --copy --add-missing --foreign || \
67
automake --copy --add-missing --foreign || error
70
echo "running gpt_create_automake_rules"
71
$GPT_LOCATION/sbin/gpt_create_automake_rules || error
74
echo "running autoconf"
79
if test -f "stamp-h.in" ; then