From fa3c5ac38aed85b86cdf159e59524d5fcb3f70fc Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Wed, 8 Dec 2010 11:55:41 +0000
Subject: autotools.mk: remove GNUmakefile before running autoreconf (spotted
 libgcrypt++)

SVN-Revision: 24344
---
 include/autotools.mk | 1 +
 1 file changed, 1 insertion(+)

(limited to 'include')

diff --git a/include/autotools.mk b/include/autotools.mk
index 9ba3fc3..a1a5d5d 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -20,6 +20,7 @@ define autoreconf
 		if [ -x ./autogen.sh ]; then \
 			./autogen.sh || true; \
 		elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \
+			rm -f ./GNUmakefile; \
 			$(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
 				$(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS) || true; \
 		fi \
-- 
cgit v1.1