]> git.ipfire.org Git - thirdparty/autoconf.git/commit
add new AC_PROG_AR helper
authorMike Frysinger <vapier@gentoo.org>
Mon, 22 Feb 2021 16:09:16 +0000 (11:09 -0500)
committerZack Weinberg <zackw@panix.com>
Mon, 24 Jan 2022 14:33:20 +0000 (09:33 -0500)
commitc48fdb81191c8b7c7c0dde6141b861b178a6a284
treee3ce8a899112643dbc29f7f44d86db044e3238b4
parentb0d5d2d3eb05cf765c44f0499a622a99319d629f
add new AC_PROG_AR helper

This mirrors the existing RANLIB and related toolchain macros that
autoconf already exports.  Some projects assume `ar` is available
which isn't always safe, so provide a macro that probes the full
toolchain settings.

This also makes it easier to use AC_REQUIRE with the macro instead
of duplicating the AC_CHECK_TOOL call in projects.

  * lib/autoconf/programs.m4 (AC_PROG_AR): New macro.
  * doc/autoconf.texi: Document it.
  * tests/local.at (_AT_CHECK_ENV): Allow $AR output variable.
doc/autoconf.texi
lib/autoconf/programs.m4
tests/local.at