]>
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}
16 SHTOOLIZE
=${SHTOOLIZE:-shtoolize}
20 echo "Usage: $0 [options]"
23 echo " -n skip CVS changelog creation"
24 echo " -h,--help show this help screen"
31 while test "$1" != "" ; do
37 SKIP_CVS_CHANGELOG
=yes
40 echo Invalid argument
- $1
52 # check for empty commands
53 if test -z "$COMMAND" ; then
54 echo "*warning* no command specified"
63 echo -n "*info* running $COMMAND"
64 if test -n "$OPTIONS" ; then
71 $COMMAND $OPTIONS ; RESULT
=$?
72 if test $RESULT -ne 0 ; then
73 echo "*error* $COMMAND failed. (exit code = $RESULT)"
84 run_or_die
$ACLOCAL -I ..
/m4
85 run_or_die
$LIBTOOLIZE --force --copy
86 run_or_die
$AUTOHEADER
88 run_or_die
$AUTOMAKE --add-missing --copy
89 run_or_die
$SHTOOLIZE all