Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-12 13:36:20 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-26 07:07:20 +0300
commit7f674bb4da562e5df74dfcd144c130397c31411a (patch)
tree330fe78ecdf25e4288076e6c07c5bf03a2d148a0 /libgloss/configure.ac
parent8343db918f7609c49b6f5eb432a82a5a12ab1dd2 (diff)
libgloss: switch to AM_PROG_AR
Now that we require Automake 1.15, we can use this macro rather than set the tool up ourselves. The current code doesn't properly search for a prefixed ar tool as-is.
Diffstat (limited to 'libgloss/configure.ac')
-rw-r--r--libgloss/configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/libgloss/configure.ac b/libgloss/configure.ac
index a656fe185..43e791663 100644
--- a/libgloss/configure.ac
+++ b/libgloss/configure.ac
@@ -251,9 +251,7 @@ AM_CONDITIONAL(CONFIG_LIBNOSYS, test x$config_libnosys = xtrue)
AC_PROG_CC
AM_PROG_AS
-AC_CHECK_PROG(AR, ar, ar, :)
-AR=${AR-ar}
-AC_SUBST(AR)
+AM_PROG_AR
LD=${LD-ld}
AC_SUBST(LD)
AC_PROG_RANLIB