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:
parent
2a6617fbd0
commit
adeeb3330c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue