configure: fix ar' and as' inference for cross-compile

This commit is contained in:
Matthew Flatt 2013-05-01 14:16:43 -06:00
parent 61ca229a57
commit 5d653e52ba
2 changed files with 4 additions and 4 deletions

4
src/configure vendored
View File

@ -3697,7 +3697,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test "$AS" = '' ; then
AS=as
AS="${ac_tool_prefix}as"
as_was_set=no
else
as_was_set=yes
@ -3800,7 +3800,7 @@ else
fi
if test "$AR" = '' ; then
AR=ar
AR="${ac_tool_prefix}ar"
fi
if test "$ARFLAGS" = '' ; then
ARFLAGS=ruv

View File

@ -440,7 +440,7 @@ if test "${enable_oskit}" = "no" ; then
AC_PROG_CC
AC_PROG_CPP
if test "$AS" = '' ; then
AS=as
AS="${ac_tool_prefix}as"
as_was_set=no
else
as_was_set=yes
@ -448,7 +448,7 @@ if test "${enable_oskit}" = "no" ; then
fi
AC_PROG_RANLIB
if test "$AR" = '' ; then
AR=ar
AR="${ac_tool_prefix}ar"
fi
if test "$ARFLAGS" = '' ; then
ARFLAGS=ruv