summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/autoconf/autoconf-2.60/program_prefix.patch
blob: 3ddeae4efd0aba1330ff5938ac99cc14aee047de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -ur autoconf-2.60.orig/lib/autoconf/general.m4 autoconf-2.60/lib/autoconf/general.m4
--- autoconf-2.60.orig/lib/autoconf/general.m4	2006-06-16 23:05:41.000000000 +0200
+++ autoconf-2.60/lib/autoconf/general.m4	2006-10-10 01:28:08.000000000 +0200
@@ -1755,8 +1755,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
 
Only in autoconf-2.60/lib/autoconf: general.m4.orig