summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
downloadpoky-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@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