]>
jfr.im git - solanum.git/blob - autogen.sh
6 if test ! -f $TOP_DIR/configure.ac
; then
7 echo "You must execute this script from the top level directory."
11 AUTOCONF
=${AUTOCONF:-autoconf}
12 AUTOHEADER
=${AUTOHEADER:-autoheader}
13 AUTOMAKE
=${AUTOMAKE:-automake}
17 echo "Usage: $0 [options]"
20 echo " -h,--help show this help screen"
27 while test "$1" != "" ; do
33 echo Invalid argument
- $1
45 # check for empty commands
46 if test -z "$COMMAND" ; then
47 echo "*warning* no command specified"
56 echo -n "*info* running $COMMAND"
57 if test -n "$OPTIONS" ; then
64 $COMMAND $OPTIONS ; RESULT
=$?
65 if test $RESULT -ne 0 ; then
66 echo "*error* $COMMAND failed. (exit code = $RESULT)"
77 run_or_die
$AUTOHEADER
83 run_or_die
$AUTOHEADER