mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +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 Check for compiler
|
||||||
dnl ############################################################################
|
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
|
AC_PROG_CC
|
||||||
AM_PROG_CC_C_O
|
AM_PROG_CC_C_O
|
||||||
|
|
||||||
@ -211,8 +215,7 @@ dnl ############################################################################
|
|||||||
dnl Check for other tools
|
dnl Check for other tools
|
||||||
dnl ############################################################################
|
dnl ############################################################################
|
||||||
|
|
||||||
AC_CHECK_TOOL(AR, ar, ar)
|
AC_CHECK_TOOLS([INDENT], [gindent indent])
|
||||||
AC_CHECK_TOOL(INDENT, gindent, indent)
|
|
||||||
mc_UNIT_TESTS
|
mc_UNIT_TESTS
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user