- 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, :)