mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
autotools.mk: don't rely on shipped autogen.sh files
SVN-Revision: 24573
This commit is contained in:
parent
6c176fe0a7
commit
6489a9c575
@ -32,9 +32,7 @@ define autoreconf
|
|||||||
(cd $(1); \
|
(cd $(1); \
|
||||||
$(patsubst %,rm -f %;,$(2)) \
|
$(patsubst %,rm -f %;,$(2)) \
|
||||||
$(foreach p,$(3), \
|
$(foreach p,$(3), \
|
||||||
if [ -x $(p)/autogen.sh ]; then \
|
if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \
|
||||||
$(AM_TOOL_PATHS) $(p)/autogen.sh || true; \
|
|
||||||
elif [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \
|
|
||||||
[ -f $(p)/aclocal.m4 ] && [ ! -f $(p)/acinclude.m4 ] && mv aclocal.m4 acinclude.m4; \
|
[ -f $(p)/aclocal.m4 ] && [ ! -f $(p)/acinclude.m4 ] && mv aclocal.m4 acinclude.m4; \
|
||||||
[ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \
|
[ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \
|
||||||
$(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
|
$(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user