mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-16 14:40:05 +00:00
36 lines
495 B
Bash
Executable File
36 lines
495 B
Bash
Executable File
#! /bin/sh
|
|
|
|
if test ! -f configure.ac ; then
|
|
echo "*** Please invoke this script from directory containing configure.ac."
|
|
exit 1
|
|
fi
|
|
|
|
MACROFILE=aclocal.m4
|
|
MACRODIR=mk/autoconf
|
|
|
|
rm -f $MACROFILE
|
|
|
|
echo "Running aclocal"
|
|
aclocal
|
|
|
|
for i in $MACRODIR/*.m4 ; do
|
|
cat $i >> $MACROFILE
|
|
done
|
|
|
|
|
|
echo "Running automake --add-missing"
|
|
automake --add-missing
|
|
|
|
echo "Running autoheader"
|
|
autoheader
|
|
rc=$?
|
|
|
|
if test $rc -eq 0; then
|
|
echo "Running autoconf"
|
|
autoconf
|
|
rc=$?
|
|
fi
|
|
|
|
#rm -f $MACROFILE
|
|
exit $rc
|