@matheusbsbs / matheus-bagliano / commits / 96e24abc9f
Fork 0

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 <rschiele@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Robert Schiele committed Oct 3, 2007 at 03:49 UTC 96e24abc9f14c83abd1e269e1d5bc1c9e50d3fca
1 file changed +1 -1
configure.ac
+1 -1
@@ -104,7 +104,7 @@ AC_MSG_NOTICE([CHECKS for programs])
104 #
105 AC_PROG_CC([cc gcc])
106 #AC_PROG_INSTALL # needs install-sh or install.sh in sources
107 -AC_CHECK_TOOL(AR, ar, :)
107 +AC_CHECK_TOOLS(AR, [gar ar], :)
108 AC_CHECK_PROGS(TAR, [gtar tar])
109 # TCLTK_PATH will be set to some value if we want Tcl/Tk
110 # or will be empty otherwise.