]>
jfr.im git - solanum.git/blob - librb/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 AUTOMAKE
=${AUTOMAKE:-automake}
14 AUTOHEADER
=${AUTOHEADER:-autoheader}
15 LIBTOOLIZE
=${LIBTOOLIZE:-libtoolize}
19 echo "Usage: $0 [options]"
22 echo " -n skip CVS changelog creation"
23 echo " -h,--help show this help screen"
30 while test "$1" != "" ; do
36 SKIP_CVS_CHANGELOG
=yes
39 echo Invalid argument
- $1
51 # check for empty commands
52 if test -z "$COMMAND" ; then
53 echo "*warning* no command specified"
62 echo -n "*info* running $COMMAND"
63 if test -n "$OPTIONS" ; then
70 $COMMAND $OPTIONS ; RESULT
=$?
71 if test $RESULT -ne 0 ; then
72 echo "*error* $COMMAND failed. (exit code = $RESULT)"
84 run_or_die
$LIBTOOLIZE --force --copy
85 run_or_die
$AUTOHEADER
87 run_or_die
$AUTOMAKE --add-missing --copy