support the autoreconf fixup without libtool
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 10 Dec 2010 15:20:51 +0000 (15:20 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 10 Dec 2010 15:20:51 +0000 (15:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24423 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/autotools.mk

index b236aac..b4eb7bf 100644 (file)
@@ -45,3 +45,8 @@ ifneq ($(filter libtool-ucxx,$(PKG_FIXUP)),)
  endif
 endif
 
+ifneq ($(filter autoreconf,$(PKG_FIXUP)),)
+  ifeq ($(filter autoreconf,$(Hooks/Configure/Pre)),)
+    Hooks/Configure/Pre += autoreconf
+  endif
+endif