configure: add AM_PROG_AR macro.

Some platforms (eg. Emscripten) have their own version of the ar tool,
so it is important to pick one that matches the target architecture.
Without this macro we always use the default system-installed version
of ar.
This commit is contained in:
Simon Howard 2018-09-30 23:34:52 -04:00
parent 0a7d77c2a7
commit 560cdc3e45

View file

@ -15,6 +15,7 @@ AC_CANONICAL_HOST
orig_CFLAGS="$CFLAGS"
AM_PROG_AR
AC_PROG_CC
AC_PROG_RANLIB
AC_CHECK_PROG(HAVE_PYTHON, python, true, false)