3 if which libtoolize
>/dev
/null
7 if which glibtoolize
>/dev
/null
9 # on the Mac it's called glibtoolize for some reason
10 LIBTOOLIZE
=glibtoolize
12 echo "libtoolize not found"
17 $LIBTOOLIZE --force 2>&1 |
sed '/^You should/d' ||
{
18 echo "libtool failed, exiting..."
22 aclocal
$ACLOCAL_FLAGS -I config ||
{
23 echo "aclocal \$ACLOCAL_FLAGS where \$ACLOCAL_FLAGS= failed, exiting..."
28 echo "autoheader failed, exiting..."
32 automake
--add-missing --foreign ||
{
33 echo "automake --add-missing --foreign failed, exiting..."
38 echo "autoconf failed, exiting..."
42 if test x
$1 != x--no-conf
; then
43 echo "Running ./configure --enable-maintainer-mode $@..."
44 .
/configure
--enable-maintainer-mode $@