diff options
Diffstat (limited to 'meta/recipes-devtools/autoconf/autoconf/program_prefix.patch')
-rw-r--r-- | meta/recipes-devtools/autoconf/autoconf/program_prefix.patch | 20 |
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 @@ | |||
1 | Upstream-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 | |||