]>
jfr.im git - irc/atheme/libmowgli-2.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 ACLOCAL
=${ACLOCAL:-aclocal}
13 AUTOHEADER
=${AUTOHEADER:-autoheader}
17 echo "Usage: gen-auto-scripts.sh [options]"
20 echo " -n skip CVS changelog creation"
21 echo " -h,--help show this help screen"
28 while test "$1" != "" ; do
34 SKIP_CVS_CHANGELOG
=yes
37 echo Invalid argument
- $1
49 # check for empty commands
50 if test -z "$COMMAND" ; then
51 echo "*warning* no command specified"
60 printf "%s" "*info* running $COMMAND"
61 if test -n "$OPTIONS" ; then
68 $COMMAND $OPTIONS ; RESULT
=$?
69 if test $RESULT -ne 0 ; then
70 echo "*error* $COMMAND failed. (exit code = $RESULT)"
82 run_or_die
$AUTOHEADER