Index: lib/autoconf/general.m4 =================================================================== RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/general.m4,v retrieving revision 1.797 diff -u -p -r1.797 general.m4 --- lib/autoconf/general.m4 25 Apr 2002 08:54:47 -0000 1.797 +++ lib/autoconf/general.m4 13 May 2002 21:09:00 -0000 @@ -1640,6 +1640,7 @@ _AC_CANONICAL_SPLIT([target]) # The aliases save the names the user supplied, while $host etc. # will get canonicalized. test -n "$target_alias" && + test "$host$build$target" != "$target$target$target" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}-[]dnl