25 lines
541 B
Bash
Executable File
25 lines
541 B
Bash
Executable File
[ -z "$ACLOCAL" ] && ACLOCAL=aclocal
|
|
[ -z "$AUTOCONF" ] && AUTOCONF=autoconf
|
|
[ -z "$AUTOHEADER" ] && AUTOHEADER=autoheader
|
|
[ -z "$AUTOMAKE" ] && AUTOMAKE=automake
|
|
|
|
workingdir=`pwd`
|
|
srcdir=`dirname "$0"`
|
|
srcdir=`cd "$srcdir" && pwd`
|
|
|
|
cd "$srcdir"
|
|
|
|
# autoreconf --verbose --install --force || exit $!
|
|
|
|
run_cmd() {
|
|
echo "$@"
|
|
"$@" || exit $!
|
|
}
|
|
|
|
# run_cmd libtoolize --copy --force
|
|
|
|
run_cmd $ACLOCAL --force -I m4 $ACLOCAL_FLAGS
|
|
run_cmd $AUTOCONF --force
|
|
run_cmd $AUTOHEADER --force
|
|
run_cmd $AUTOMAKE --add-missing --copy --force-missing
|