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