Skip to content
Snippets Groups Projects
Commit 5cec2258 authored by Thimo Neubauer's avatar Thimo Neubauer
Browse files

forgot the automake-version magic...

[[Imported from SVN: r832]]
parent 114845cd
Branches
Tags
No related merge requests found
......@@ -4,6 +4,9 @@
# barf on errors
set -e
# may be used to force a certain automake-version e.g. 1.7
AMVERS=
DEFAULTCONFOPT=
usage () {
......@@ -69,6 +72,13 @@ if [ "$OPTIM" = "1" ] ; then
COMPFLAGS="$COMPFLAGS $OPTIMFLAGS"
fi
# check if automake-version was set
if test "x$AMVERS" != x ; then
echo Warning: explicitly using automake version $AMVERS
# binaries are called automake-$AMVERS
AMVERS="-$AMVERS"
fi
## run autotools
echo "--> libtoolize..."
......@@ -78,14 +88,14 @@ libtoolize --force
# prepare everything
echo "--> aclocal..."
aclocal
aclocal$AMVERS
# applications should provide a config.h for now
#echo "--> autoheader..."
#autoheader
echo "--> automake..."
automake --add-missing
automake$AMVERS --add-missing
echo "--> autoconf..."
autoconf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment