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