gui/bootstrap
changeset 2012 224cd6aacfc1
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gui/bootstrap	Thu Mar 23 19:57:14 2006 +0000
     1.3 @@ -0,0 +1,78 @@
     1.4 +#!/bin/bash
     1.5 +
     1.6 +prev=
     1.7 +for option
     1.8 +do
     1.9 +  if test -n "$prev"
    1.10 +  then
    1.11 +    eval "$prev=\$option"
    1.12 +    prev=
    1.13 +    continue
    1.14 +  fi
    1.15 +
    1.16 +  optarg=`expr "x$option" : 'x[^=]*=\(.*\)'`
    1.17 +
    1.18 +  case $option in
    1.19 +
    1.20 +  -amver | --amver)
    1.21 +    prev=amver ;;
    1.22 +  -amver=* | --amver=*)
    1.23 +    amver=$optarg ;;
    1.24 +
    1.25 +  -acver | --acver)
    1.26 +    prev=acver ;;
    1.27 +  -acver=* | --acver=*)
    1.28 +    acver=$optarg ;;
    1.29 +
    1.30 +  --help | -h)
    1.31 +    cat << EOF
    1.32 +Usage: $0 [OPTION]
    1.33 +
    1.34 +Options:
    1.35 +  -h, --help            display this help and exit
    1.36 +      --amver=VERSION   use VERSION version of automake
    1.37 +      --acver=VERSION   use VERSION version of autoconf
    1.38 +
    1.39 +Expamle:
    1.40 +  $0 --amver=1.8 --acver=2.59
    1.41 +EOF
    1.42 +    exit 0
    1.43 +    ;;
    1.44 +
    1.45 +  *)
    1.46 +    cat << EOF >&2
    1.47 +$0: unrecognized option: $option
    1.48 +Try \`$0 --help' for more information.
    1.49 +EOF
    1.50 +    exit 1
    1.51 +    ;;
    1.52 +
    1.53 +  esac
    1.54 +done
    1.55 +
    1.56 +automake=automake
    1.57 +aclocal=aclocal
    1.58 +autoconf=autoconf
    1.59 +autoheader=autoheader
    1.60 +
    1.61 +if test -n "$amver"
    1.62 +then
    1.63 +  automake=automake-$amver
    1.64 +  aclocal=aclocal-$amver
    1.65 +fi
    1.66 +
    1.67 +if test -n "$acver"
    1.68 +then
    1.69 +  autoconf=autoconf-$acver
    1.70 +  autoheader=autoheader-$acver
    1.71 +fi
    1.72 +
    1.73 +echo "Try using 'autoreconf -vi' instead of this."
    1.74 +
    1.75 +set -x
    1.76 +autopoint \
    1.77 +&& $aclocal -I m4 \
    1.78 +&& libtoolize --force --copy \
    1.79 +&& $autoconf \
    1.80 +&& $autoheader \
    1.81 +&& $automake --add-missing --copy --gnu