mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:30:16 +02:00
[include] autotools.mk: don't rely on shipped autogen.sh files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24573 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8a467d7a70
commit
ac6f244578
@ -32,9 +32,7 @@ define autoreconf
|
||||
(cd $(1); \
|
||||
$(patsubst %,rm -f %;,$(2)) \
|
||||
$(foreach p,$(3), \
|
||||
if [ -x $(p)/autogen.sh ]; then \
|
||||
$(AM_TOOL_PATHS) $(p)/autogen.sh || true; \
|
||||
elif [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \
|
||||
if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \
|
||||
[ -f $(p)/aclocal.m4 ] && [ ! -f $(p)/acinclude.m4 ] && mv aclocal.m4 acinclude.m4; \
|
||||
[ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \
|
||||
$(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
|
||||
|
Loading…
Reference in New Issue
Block a user