1a8f0ad3cSmanu#!/bin/sh 2a8f0ad3cSmanu 3a8f0ad3cSmanuset -x 4a8f0ad3cSmanu 5*e3de131bSmanucase `uname -s` in 6*e3de131bSmanuDarwin) 7*e3de131bSmanu LIBTOOLIZE=glibtoolize 8*e3de131bSmanu ;; 9*e3de131bSmanu*) 10*e3de131bSmanu LIBTOOLIZE=libtoolize 11*e3de131bSmanu ;; 12*e3de131bSmanuesac 13a8f0ad3cSmanu 14*e3de131bSmanu# Remove autoconf 2.5x's cache directory 15a8f0ad3cSmanurm -rf autom4te*.cache 16a8f0ad3cSmanu 17a8f0ad3cSmanuaclocal -I . || exit 1 18a8f0ad3cSmanuautoheader || exit 1 19*e3de131bSmanu${LIBTOOLIZE} --force --copy || exit 1 20a8f0ad3cSmanuautomake --foreign --add-missing --copy || exit 1 21a8f0ad3cSmanuautoconf || exit 1 22