aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-12-15 01:14:14 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-12-15 01:14:14 +0000
commitec90a456a6c0182f7f2167ff6dd60e9339b75e91 (patch)
treee177eb9a1ca94679c99607122febd36cabde1810
parent03000283daa848d0a91bdb01fbd30d2f8b7aba87 (diff)
downloadupstream-ec90a456a6c0182f7f2167ff6dd60e9339b75e91.tar.gz
upstream-ec90a456a6c0182f7f2167ff6dd60e9339b75e91.tar.bz2
upstream-ec90a456a6c0182f7f2167ff6dd60e9339b75e91.zip
[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
-rw-r--r--include/autotools.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/autotools.mk b/include/autotools.mk
index 308b45a5f3..4d98a7cd0a 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 \