diff options
Diffstat (limited to 'build/linux/autogen.sh')
-rwxr-xr-x | build/linux/autogen.sh | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/build/linux/autogen.sh b/build/linux/autogen.sh new file mode 100755 index 0000000..c856793 --- /dev/null +++ b/build/linux/autogen.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +aclocal +if test $? -ne 0; then + echo "Error running aclocal" + exit 1 +fi + +autoconf +if test $? -ne 0; then + echo "Error running autoconf" + exit 1 +fi + +libtoolize --install --force > /dev/null 2>&1 +if test $? -ne 0; then + libtoolize --force + if test $? -ne 0; then + echo "Error running libtoolize" + exit 1 + fi +fi + +if test ! -e config.guess; then + ln -s config.guess.dist config.guess +fi + +if test ! -e config.sub; then + ln -s config.sub.dist config.sub +fi + +if test ! -e install-sh; then + ln -s install-sh.dist install-sh +fi + +echo "Done." |