diff --git a/src/configure b/src/configure index 1ae6cb76b1..bd47681e8d 100755 --- a/src/configure +++ b/src/configure @@ -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 diff --git a/src/racket/configure.ac b/src/racket/configure.ac index 5b2d6a3bf9..848a9c3bb1 100644 --- a/src/racket/configure.ac +++ b/src/racket/configure.ac @@ -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