Fixes for UNIX build system
This commit is contained in:
19
autogen.sh
19
autogen.sh
@@ -9,27 +9,44 @@ if test ! -f configure.ac ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
aclocal -I mk/autoconf
|
||||
echo "running aclocal"
|
||||
aclocal
|
||||
rc=$?
|
||||
|
||||
if test $rc -eq 0; then
|
||||
echo "running libtool"
|
||||
libtoolize --force --automake --copy
|
||||
rc=$?
|
||||
else
|
||||
echo "An error occured, autogen.sh stopping."
|
||||
exit $rc
|
||||
fi
|
||||
|
||||
if test $rc -eq 0; then
|
||||
echo "running automake"
|
||||
automake --add-missing --copy
|
||||
rc=$?
|
||||
else
|
||||
echo "An error occured, autogen.sh stopping."
|
||||
exit $rc
|
||||
fi
|
||||
|
||||
if test $rc -eq 0; then
|
||||
echo "running autoheader"
|
||||
autoheader
|
||||
rc=$?
|
||||
else
|
||||
echo "An error occured, autogen.sh stopping."
|
||||
exit $rc
|
||||
fi
|
||||
|
||||
if test $rc -eq 0; then
|
||||
echo "running autoconf"
|
||||
autoconf
|
||||
rc=$?
|
||||
else
|
||||
echo "An error occured, autogen.sh stopping."
|
||||
exit $rc
|
||||
fi
|
||||
|
||||
echo "autogen.sh complete"
|
||||
|
||||
Reference in New Issue
Block a user