diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-12-15 01:14:14 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-12-15 01:14:14 +0000 |
commit | 6489a9c575cd8899d274bfd214ee91059bcfb272 (patch) | |
tree | 3de01f1b550ee0ee919a961fa49dcbe270da03b7 /include/autotools.mk | |
parent | 6c176fe0a75d1c8e408b44baa66f73703c414533 (diff) | |
download | mtk-20170518-6489a9c575cd8899d274bfd214ee91059bcfb272.zip mtk-20170518-6489a9c575cd8899d274bfd214ee91059bcfb272.tar.gz mtk-20170518-6489a9c575cd8899d274bfd214ee91059bcfb272.tar.bz2 |
autotools.mk: don't rely on shipped autogen.sh files
SVN-Revision: 24573
Diffstat (limited to 'include/autotools.mk')
-rw-r--r-- | include/autotools.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/autotools.mk b/include/autotools.mk index 308b45a..4d98a7c 100644 --- a/include/autotools.mk +++ b/include/autotools.mk @@ -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 \ |