summaryrefslogtreecommitdiffstats
path: root/meta/packages/autoconf/autoconf-2.63/program_prefix.patch
blob: e6f4096a9736b8c6d5e887f3f5a3193b58218c1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- autoconf-2.57/lib/autoconf/general.m4~program_prefix
+++ autoconf-2.57/lib/autoconf/general.m4
@@ -1676,8 +1676,9 @@
 # The aliases save the names the user supplied, while $host etc.
 # will get canonicalized.
 test -n "$target_alias" &&
-  test "$program_prefix$program_suffix$program_transform_name" = \
-    NONENONEs,x,x, &&
+  test "$target_alias" != "$host_alias" &&
+    test "$program_prefix$program_suffix$program_transform_name" = \
+      NONENONEs,x,x, &&
   program_prefix=${target_alias}-[]dnl
 ])# AC_CANONICAL_TARGET