X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a87985348442440a61a1f6de3a4858931637920..a0b0865599239b35bbfb1fcb1d564c077f90eb66:/aclocal.m4 diff --git a/aclocal.m4 b/aclocal.m4 index f8f879a9e2..65c388f329 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1613,13 +1613,9 @@ AC_DEFUN(AC_BAKEFILE_CHECK_BASIC_STUFF, AC_PROG_MAKE_SET AC_SUBST(MAKE_SET) - if test "$build" != "$host" ; then - AR=$host_alias-ar - STRIP=$host_alias-strip - else - AC_CHECK_PROG(AR, ar, ar, ar) - AC_CHECK_PROG(STRIP, strip, strip, true) - fi + AC_CHECK_TOOL(AR, ar, ar) + AC_CHECK_TOOL(STRIP, strip, :) + AC_CHECK_TOOL(NM, nm, :) case ${host} in *-hp-hpux* )