configure.ac: check $AR for ar to use

Resolves #1705. Tested against https://github.com/NixOS/nixpkgs/pull/242350.
This commit is contained in:
sternenseemann
2023-07-09 21:16:09 +02:00
parent e509849d74
commit 9f8b360c63
+1
View File
@@ -33,6 +33,7 @@ esac
# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AC_CHECK_TOOL(AR, ar, :)
AC_PROG_INSTALL
PKG_PROG_PKG_CONFIG([0.9.0])