From: Roland McGrath Date: Sun, 12 Feb 1995 23:42:30 +0000 (+0000) Subject: (AC_CHECK_TOOL_PREFIX): Require AC_CANONICAL_BUILD, so both $build and X-Git-Tag: fsf-origin~316 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4915f99aae545a43b53d7af05b8de80411fdb12e;p=thirdparty%2Fautoconf.git (AC_CHECK_TOOL_PREFIX): Require AC_CANONICAL_BUILD, so both $build and $host are definitely set before we compare them. --- diff --git a/acgeneral.m4 b/acgeneral.m4 index ede041752..663c4a249 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -1160,7 +1160,7 @@ ifelse([$3], , , [test -n "[$]$1" || $1="$3" dnl Internal subroutine. AC_DEFUN(AC_CHECK_TOOL_PREFIX, -[AC_REQUIRE([AC_CANONICAL_HOST])dnl +[AC_REQUIRE([AC_CANONICAL_HOST])AC_REQUIRE([AC_CANONICAL_BUILD])dnl if test $host != $build; then ac_tool_prefix=${host_alias}- else diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index ede041752..663c4a249 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1160,7 +1160,7 @@ ifelse([$3], , , [test -n "[$]$1" || $1="$3" dnl Internal subroutine. AC_DEFUN(AC_CHECK_TOOL_PREFIX, -[AC_REQUIRE([AC_CANONICAL_HOST])dnl +[AC_REQUIRE([AC_CANONICAL_HOST])AC_REQUIRE([AC_CANONICAL_BUILD])dnl if test $host != $build; then ac_tool_prefix=${host_alias}- else