1#!/bin/sh 2 3set -x 4 5case `uname -s` in 6Darwin) 7 LIBTOOLIZE=glibtoolize 8 ;; 9*) 10 LIBTOOLIZE=libtoolize 11 ;; 12esac 13 14# Remove autoconf 2.5x's cache directory 15rm -rf autom4te*.cache 16 17aclocal -I . || exit 1 18autoheader || exit 1 19${LIBTOOLIZE} --force --copy || exit 1 20automake --foreign --add-missing --copy || exit 1 21autoconf || exit 1 22