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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24344 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Jo-Philipp Wich 2010-12-08 11:55:41 +00:00
parent b68abd09c7
commit a5b5726b4c
1 changed files with 1 additions and 0 deletions

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 \