Robert Schiele  committed 96e24ab

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.

Signed-off-by: Robert Schiele <>
Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits 8ae92e6
  • Branches master

Comments (0)

Files changed (1)


 AC_PROG_CC([cc gcc])
 #AC_PROG_INSTALL		# needs install-sh or in sources
+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.