autotools.mk: link config.rpath before running autoreconf, also touch ABOUT-NLS - needed by minidlna CVS version

SVN-Revision: 28464
This commit is contained in:
Jo-Philipp Wich 2011-10-16 16:44:49 +00:00
parent ba0c7accd9
commit d8d9130e45

View file

@ -36,14 +36,14 @@ define autoreconf
$(foreach p,$(3), \ $(foreach p,$(3), \
if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \ if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \
[ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \ [ -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 \ $(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
$(if $(word 2,$(3)),--no-recursive) \ $(if $(word 2,$(3)),--no-recursive) \
-B $(STAGING_DIR_HOST)/share/aclocal \ -B $(STAGING_DIR_HOST)/share/aclocal \
$(patsubst %,-I %,$(5)) \ $(patsubst %,-I %,$(5)) \
$(patsubst %,-I %,$(4)) $(4) || true; \ $(patsubst %,-I %,$(4)) $(4) || true; \
[ -e $(p)/config.rpath ] || \
ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath;
fi; \ fi; \
) \ ) \
); );