5 # GEOS Bootstrapping Script
10 echo " Something went wrong, giving up!"
17 for aclocal
in aclocal aclocal-1.10 aclocal-1.9
; do
18 ACLOCAL
=`which $aclocal 2>/dev/null`
19 if test -x "${ACLOCAL}"; then
23 if [ ! $ACLOCAL ]; then
24 echo "Missingn aclocal!"
28 for automake
in automake automake-1.10 automake-1.9
; do
29 AUTOMAKE
=`which $automake 2>/dev/null`
30 if test -x "${AUTOMAKE}"; then
34 if [ ! $AUTOMAKE ]; then
35 echo "Missingn automake!"
40 for libtoolize
in glibtoolize libtoolize
; do
41 LIBTOOLIZE
=`which $libtoolize 2>/dev/null`
42 if test -x "${LIBTOOLIZE}"; then
46 if [ ! $LIBTOOLIZE ]; then
47 echo "Missingn libtoolize!"
51 #AMFLAGS="--add-missing --copy --force-missing"
52 AMFLAGS
="--add-missing --copy"
53 if test "$OSTYPE" = "IRIX" -o "$OSTYPE" = "IRIX64"; then
54 AMFLAGS
=$AMFLAGS" --include-deps";
57 echo "Running aclocal -I macros"
58 $ACLOCAL -I macros || giveup
59 echo "Running autoheader"
61 echo "Running libtoolize"
62 $LIBTOOLIZE --force --copy || giveup
63 echo "Running automake"
64 $AUTOMAKE $AMFLAGS # || giveup
65 echo "Running autoconf"
68 echo "======================================"
69 echo "Now you are ready to run './configure'"
70 echo "======================================"