summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schiele <rschiele@gmail.com>2007-10-03 01:49:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-10-03 04:10:25 (GMT)
commit96e24abc9f14c83abd1e269e1d5bc1c9e50d3fca (patch)
tree99e6c4f6c5f605c1a136b5736be61396bbfd20bf
parent8ae92e63895000ff9b12046325ae381f3c17d414 (diff)
downloadgit-96e24abc9f14c83abd1e269e1d5bc1c9e50d3fca.zip
git-96e24abc9f14c83abd1e269e1d5bc1c9e50d3fca.tar.gz
git-96e24abc9f14c83abd1e269e1d5bc1c9e50d3fca.tar.bz2
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>
-rw-r--r--configure.ac2
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.