summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:38:32 +0100
committerAdrian Dudau <adrian.dudau@enea.com>2013-12-12 13:50:20 +0100
commite2e6f6fe07049f33cb6348780fa975162752e421 (patch)
treeb1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
downloadpoky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-devtools/autoconf/autoconf/program_prefix.patch')
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/program_prefix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch b/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
new file mode 100644
index 0000000000..978a401f0a
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
@@ -0,0 +1,20 @@
1Upstream-Status: Pending
2
3#
4# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
5#
6
7--- autoconf-2.57/lib/autoconf/general.m4~program_prefix
8+++ autoconf-2.57/lib/autoconf/general.m4
9@@ -1676,8 +1676,9 @@
10 # The aliases save the names the user supplied, while $host etc.
11 # will get canonicalized.
12 test -n "$target_alias" &&
13- test "$program_prefix$program_suffix$program_transform_name" = \
14- NONENONEs,x,x, &&
15+ test "$target_alias" != "$host_alias" &&
16+ test "$program_prefix$program_suffix$program_transform_name" = \
17+ NONENONEs,x,x, &&
18 program_prefix=${target_alias}-[]dnl
19 ])# AC_CANONICAL_TARGET
20