foxygit / doom Log in
commit 560cdc3e4572cc84d493c5450092b6ce1694bd89
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Sun Sep 30 23:34:52 2018 -0400
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Sun Sep 30 23:34:52 2018 -0400

    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.
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 175d7f3b..6dfced8d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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)