git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] the ar tool is called gar on some systems

From
Robert Schiele <rschiele@gmail.com>
Date
Aug 2, 2007, 16:15 UTC
Message-ID
<20070802161501.GO29424@schiele.dyndns.org>

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.

Signed-off-by: Robert Schiele <rschiele@gmail.com>
---
This is another trivial configure patch.  If you don't want to include it in
the upcomming release it is fine for me to delay it.  If you expect me to
resubmit after the release, drop me a note.
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 84fd7f1..ed7cc89 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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.
-- 
1.5.2.3
Message 1 of 1 in “the ar tool is called gar on some systems”
  1. the ar tool is called gar on some systemsRobert Schiele, Aug 2, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.