mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
buildsys: fix ar check by doing it before toolchain checks implicitly looking for ar
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
380c39010a
commit
87a76294c4
@ -36,6 +36,10 @@ dnl ############################################################################
|
||||
dnl Check for compiler
|
||||
dnl ############################################################################
|
||||
|
||||
dnl This should be checked before toolchain macros, otherwise they will remember
|
||||
dnl that ar cannot be found and linking via libtool will fail at a later stage
|
||||
AC_CHECK_TOOLS([AR], [ar gar])
|
||||
|
||||
AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
@ -211,8 +215,7 @@ dnl ############################################################################
|
||||
dnl Check for other tools
|
||||
dnl ############################################################################
|
||||
|
||||
AC_CHECK_TOOL(AR, ar, ar)
|
||||
AC_CHECK_TOOL(INDENT, gindent, indent)
|
||||
AC_CHECK_TOOLS([INDENT], [gindent indent])
|
||||
mc_UNIT_TESTS
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user