]>
jfr.im git - irc/rqf/shadowircd.git/blob - autogen.sh
1e9709c090ab1530a8eef4d10707a7eddc891f73
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 ACLOCAL
=${ACLOCAL:-aclocal}
13 AUTOHEADER
=${AUTOHEADER:-autoheader}
14 AUTOMAKE
=${AUTOMAKE:-automake}
18 echo "Usage: $0 [options]"
21 echo " -h,--help show this help screen"
28 while test "$1" != "" ; do
34 echo Invalid argument
- $1
46 # check for empty commands
47 if test -z "$COMMAND" ; then
48 echo "*warning* no command specified"
57 echo -n "*info* running $COMMAND"
58 if test -n "$OPTIONS" ; then
65 $COMMAND $OPTIONS ; RESULT
=$?
66 if test $RESULT -ne 0 ; then
67 echo "*error* $COMMAND failed. (exit code = $RESULT)"
78 run_or_die
$AUTOHEADER
84 run_or_die
$AUTOHEADER