X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=autogen.sh;h=d3fb066d3e1933a9acd2b631452ccff48c7b8df6;hb=64195589dcdc59acb90f341f03dc3f207bed6c83;hp=c7cf4baf61ea306bb51dfac93b0dd214408e4f54;hpb=10beeb0fe917eb3df2cfb2c235c62aaf2dc80a0d;p=~andy%2Fgtk diff --git a/autogen.sh b/autogen.sh index c7cf4baf6..d3fb066d3 100755 --- a/autogen.sh +++ b/autogen.sh @@ -16,7 +16,7 @@ have_libtool=false if libtoolize --version < /dev/null > /dev/null 2>&1 ; then libtool_version=`libtoolize --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'` case $libtool_version in - 1.4*|1.5*) + 1.4*|1.5*|2.2*) have_libtool=true ;; esac @@ -91,6 +91,13 @@ if test -z "$ACLOCAL_FLAGS"; then done fi +rm -rf autom4te.cache + +# README and INSTALL are required by automake, but may be deleted by clean +# up rules. to get automake to work, simply touch these here, they will be +# regenerated from their corresponding *.in files by ./configure anyway. +touch README INSTALL + $ACLOCAL $ACLOCAL_FLAGS || exit $? libtoolize --force || exit $?