Skip to contentSkip to conversation

the ar tool is called gar on some systems

PATCH In review Robert Schiele 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 the ar tool is called gar on some systems

Some systems that have only installed the GNU toolchain (prefixed with "g") do not provide "ar" but only "gar". Make configure find this tool as well.

---
I sent that some weeks ago but it seems it got lost.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
configure.ac +1 -1
index 84fd7f1..ed7cc89 100644
@@ -104,7 +104,7 @@ AC_MSG_NOTICE([CHECKS for programs])
 #
 AC_PROG_CC([cc gcc])
 #AC_PROG_INSTALL		# needs install-sh or install.sh in sources
-AC_CHECK_TOOL(AR, ar, :)
+AC_CHECK_TOOLS(AR, [gar ar], :)
 AC_CHECK_PROGS(TAR, [gtar tar])
 # TCLTK_PATH will be set to some value if we want Tcl/Tk
 # or will be empty otherwise.
Signature · 1 line
1.5.2.3
#1 lore raw
Quoted 6 lines · Robert Schiele

Some systems that have only installed the GNU toolchain (prefixed with "g") do not provide "ar" but only "gar". Make configure find this tool as well.

---
I sent that some weeks ago but it seems it got lost.

I still have the original one in my mailbox. Hasn't applied as we hadn't heard anybody cheering or thanking for the patch, but I do not see anything _wrong_ with it, so let's apply.