threads / patch / 9356

patchthe ar tool is called gar on some systems

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

## tl;dr

One message between Aug 2, 2007 and Aug 2, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Robert Schiele· Aug 2, 2007, 16:15 UTC · lore

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(-)
Show changes to configure.ac +1 −1
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

← back to recent threads