bootstrap
changeset 2041 28df5272df99
parent 2012 224cd6aacfc1
child 2043 54f80cf6ac86
equal deleted inserted replaced
3:7cd919f612a5 4:6914edb1d2e8
     1 #!/bin/bash
     1 #!/bin/bash
       
     2 
       
     3 quiet=0
       
     4 function quiet { [[ $quiet == 1 ]]; }
       
     5 
       
     6 if [[ "$1" == "-q" ]]; then
       
     7   quiet=1
       
     8   shift
       
     9 fi
     2 
    10 
     3 prev=
    11 prev=
     4 for option
    12 for option
     5 do
    13 do
     6   if test -n "$prev"
    14   if test -n "$prev"
    65 then
    73 then
    66   autoconf=autoconf-$acver
    74   autoconf=autoconf-$acver
    67   autoheader=autoheader-$acver
    75   autoheader=autoheader-$acver
    68 fi
    76 fi
    69 
    77 
    70 echo "Try using 'autoreconf -vi' instead of this."
    78 quiet || echo "Try using 'autoreconf -vi' instead of this."
    71 
    79 
    72 set -x
    80 set -e
    73 $aclocal -I m4 \
    81 quiet || set -x
    74 && libtoolize --force --copy \
    82 
    75 && $autoconf \
    83 $aclocal -I m4
    76 && $autoheader \
    84 (quiet && exec > /dev/null; libtoolize --force --copy)
    77 && $automake --add-missing --copy --gnu
    85 $autoconf
       
    86 $autoheader
       
    87 $automake --add-missing --copy --gnu