[build] Fix the default value for the AR variable (#145)

Initialize the AR variable during configuration, to avoid leaving
unsubstituted string if the AR shell/environment variable is not set.
This commit is contained in:
Ming-Hung Tsai
2020-07-29 00:20:36 +08:00
parent 8a01679908
commit 7a332d43c3
3 changed files with 6 additions and 3 deletions

View File

@@ -44,6 +44,9 @@ AC_PROG_INSTALL
AC_DEFUN([AC_PROG_STRIP], [AC_CHECK_TOOL(STRIP, strip, :)])
AC_PROG_STRIP
AC_ARG_VAR(STRIP, [Command for discarding symbols from object files])
AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)])
AC_PROG_AR
AC_ARG_VAR(AR, [Program that maintains archive files])
################################################################
dnl -- Check for large file support