Changeset 3172 for trunk/bootstrap
- Timestamp:
- Mar 4, 2014, 3:38:11 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootstrap
r2470 r3172 7 7 # Copyright (C) 2006 Jari Häkkinen 8 8 # Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson 9 # Copyright (C) 2009, 2011 Peter Johansson9 # Copyright (C) 2009, 2011, 2014 Peter Johansson 10 10 # 11 11 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 25 25 26 26 # Run this to generate all auto-generated files needed by the GNU 27 # configure program. 27 # configure program. 28 29 func_help () 30 { 31 cat <<EOF 32 Usage: $me [OPTION]... 33 34 Available Options: 35 -h, --help display this help and exit 36 -i, --install update M4 macro files in m4/ 37 -v, --verbose verbosely report processing 38 EOF 39 } 28 40 29 41 me=bootstrap 30 42 verbose=no 43 install=no 31 44 # parse options 32 45 while test $# -gt 0; do 33 46 case "$1" in 47 --help | -h) func_help; exit 0;; 48 --install | -i) install=yes;; 34 49 --verbose | -v) verbose=yes;; 35 50 *) echo "$me: invalid option '$1'" >& 2 && exit 1;; … … 37 52 shift; 38 53 done 54 55 : ${ACLOCAL="aclocal"} 56 export ACLOCAL 57 39 58 cmd="autoreconf --install --symlink --force"; 40 59 if test "x$verbose" = "xno"; then … … 43 62 cmd="$cmd --verbose" 44 63 fi 64 test x"$install" = x"yes" && ACLOCAL="$ACLOCAL --install" 65 45 66 echo "$me: running: $cmd"; 46 67 exec $cmd;
Note: See TracChangeset
for help on using the changeset viewer.