summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-16 16:44:49 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-16 16:44:49 +0000
commitd8d9130e45862d330e55110c12ca51cd59955a1c (patch)
tree88cc42c71ba234f525cc967cd987b8e816ca3c36 /include
parentba0c7accd9d7ae6f2aa449c768c7ce31887679ff (diff)
downloadmtk-20170518-d8d9130e45862d330e55110c12ca51cd59955a1c.zip
mtk-20170518-d8d9130e45862d330e55110c12ca51cd59955a1c.tar.gz
mtk-20170518-d8d9130e45862d330e55110c12ca51cd59955a1c.tar.bz2
autotools.mk: link config.rpath before running autoreconf, also touch ABOUT-NLS - needed by minidlna CVS version
SVN-Revision: 28464
Diffstat (limited to 'include')
-rw-r--r--include/autotools.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/autotools.mk b/include/autotools.mk
index 1ce25bc..f7b633d 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -36,14 +36,14 @@ define autoreconf
$(foreach p,$(3), \
if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \
[ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \
- touch NEWS AUTHORS COPYING ChangeLog; \
+ [ -e $(p)/config.rpath ] || \
+ ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath; \
+ touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; \
$(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
$(if $(word 2,$(3)),--no-recursive) \
-B $(STAGING_DIR_HOST)/share/aclocal \
$(patsubst %,-I %,$(5)) \
$(patsubst %,-I %,$(4)) $(4) || true; \
- [ -e $(p)/config.rpath ] || \
- ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath;
fi; \
) \
);