1 #!/bin/sh 2 3 # Deal with some gentoo-specific issues 4 export WANT_AUTOMAKE='1.7' 5 export WANT_AUTOCONF='2.5' 6 7 # clean up files which cause confusion when switch versions of auto* 8 rm -rf autom4te.cache 9 10 # Fire up autotools 11 libtoolize --force --copy 12 aclocal $ACLOCAL_FLAGS 13 autoheader 14 automake --include-deps --add-missing --foreign --copy 15 autoconf 16