From: jow Date: Sat, 28 Jan 2012 04:43:16 +0000 (+0000) Subject: [backfire] tools: merge r29931 X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=18f3bd4770147f0dbd1384011664d041b196fba9 [backfire] tools: merge r29931 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@29932 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/tools/autoconf/patches/000-relocatable.patch b/tools/autoconf/patches/000-relocatable.patch index 98661e200..0b83a2b44 100644 --- a/tools/autoconf/patches/000-relocatable.patch +++ b/tools/autoconf/patches/000-relocatable.patch @@ -50,6 +50,19 @@ # Some non-GNU m4's don't reject the --help option, so give them /dev/null. fatal "need GNU m4 1.4 or later: $m4" if system "$m4 --help &1 | grep reload-state >/dev/null"; +@@ -270,6 +272,12 @@ sub load_configuration ($) + + my @words = shellwords ($_); + my $type = shift @words; ++ ++ if ($ENV{'STAGING_DIR'}) ++ { ++ @words = map { s!^@pkgdatadir@!$ENV{'STAGING_DIR'}/../host/share/autoconf!; $_ } @words; ++ } ++ + if ($type eq 'begin-language:') + { + fatal "$file:$.: end-language missing for: $lang" --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -27,7 +27,8 @@ eval 'case $# in 0) exec @PERL@ -S "$0";