autgen.sh: wipe out old files before recreating them

The main reason for this is that libtoolize gets confused when it
finds files from a more recent libtool, which can happen when
running autogen.sh on one distro and then again on an older one,
using the same source directory.
This commit is contained in:
Patrick Ohly 2009-07-13 12:55:21 +02:00
parent 2a6617fbd0
commit adeeb3330c
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
set -e
# wipe out temporary autotools files, necessary
# when switching between distros
rm -rf aclocal.m4 m4/lib* autom4te.cache config.guess config.sub config.h.in configure depcomp install-sh ltmain.sh missing
# generate configure.in from main configure-*.in pieces
# and all backend configure-sub.in pieces
rm -f configure.in