bootstrap
changeset 2015 5e51c9eb5e83
parent 2012 224cd6aacfc1
child 2043 54f80cf6ac86
     1.1 --- a/bootstrap	Thu Mar 23 20:43:25 2006 +0000
     1.2 +++ b/bootstrap	Fri Mar 24 20:27:42 2006 +0000
     1.3 @@ -1,5 +1,13 @@
     1.4  #!/bin/bash
     1.5  
     1.6 +quiet=0
     1.7 +function quiet { [[ $quiet == 1 ]]; }
     1.8 +
     1.9 +if [[ "$1" == "-q" ]]; then
    1.10 +  quiet=1
    1.11 +  shift
    1.12 +fi
    1.13 +
    1.14  prev=
    1.15  for option
    1.16  do
    1.17 @@ -67,11 +75,13 @@
    1.18    autoheader=autoheader-$acver
    1.19  fi
    1.20  
    1.21 -echo "Try using 'autoreconf -vi' instead of this."
    1.22 +quiet || echo "Try using 'autoreconf -vi' instead of this."
    1.23  
    1.24 -set -x
    1.25 -$aclocal -I m4 \
    1.26 -&& libtoolize --force --copy \
    1.27 -&& $autoconf \
    1.28 -&& $autoheader \
    1.29 -&& $automake --add-missing --copy --gnu
    1.30 +set -e
    1.31 +quiet || set -x
    1.32 +
    1.33 +$aclocal -I m4
    1.34 +(quiet && exec > /dev/null; libtoolize --force --copy)
    1.35 +$autoconf
    1.36 +$autoheader
    1.37 +$automake --add-missing --copy --gnu