autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++)

SVN-Revision: 24344
This commit is contained in:
Jo-Philipp Wich 2010-12-08 11:55:41 +00:00
parent 502dc1cb39
commit fa3c5ac38a

View file

@ -20,6 +20,7 @@ define autoreconf
if [ -x ./autogen.sh ]; then \ if [ -x ./autogen.sh ]; then \
./autogen.sh || true; \ ./autogen.sh || true; \
elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \ elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \
rm -f ./GNUmakefile; \
$(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \ $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
$(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS) || true; \ $(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS) || true; \
fi \ fi \