Changeset 1107 for trunk/bootstrap


Ignore:
Timestamp:
Jun 23, 2010, 3:56:31 PM (11 years ago)
Author:
Peter Johansson
Message:

Avoid ouput from Automake --install during bootstrap. Allow output using --verbose option. Code taken from yat, http://dev.thep.lu.se/yat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootstrap

    r978 r1107  
    2828# configure program.
    2929
    30 autoreconf --install --symlink --force
     30me=bootstrap
     31verbose=no
     32# parse options
     33while test $# -gt 0; do
     34    case "$1" in
     35  --verbose | -v) verbose=yes;;
     36  *) echo "$me: invalid option '$1'" >& 2 && exit 1;;
     37    esac
     38    shift;
     39done
     40if test "x$verbose" = "xno"; then
     41    exec >& /dev/null
     42fi
     43cmd="autoreconf --install --symlink --force --verbose";
     44echo "$me: running: $cmd";
     45exec $cmd;
     46
Note: See TracChangeset for help on using the changeset viewer.