1#!/bin/sh 2 3#libtoolize 4if test "$(uname)" = "Darwin" ; then 5 #Darwin based Systems like Mac OS X: libtoolize is called glibtoolize. 6 glibtoolize --automake 7else 8 libtoolize --automake 9fi 10 11#aclocal 12if test -e /usr/bin/aclocal-1.11 ; then 13 #OpenSolaris: no aclocal 14 aclocal-1.11 15elif test -e /usr/bin/aclocal-1.10 ; then 16 aclocal-1.10 17else 18 aclocal 19fi 20 21#automake 22if test -e /usr/bin/automake-1.11 ; then 23 #OpenSolaris: no automake 24 automake-1.11 -a 25elif test -e /usr/bin/automake-1.10 ; then 26 automake-1.10 -a 27else 28 automake -a 29fi 30 31autoreconf -fi