summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2006-07-08 21:07:13 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-09 09:20:57 (GMT)
commitfd22c0271b33227e651be456beb4cead934f5624 (patch)
tree85802bb4616aa688e3b62d32b4f200671dfbb8f0 /configure.ac
parentebdf53210ca30eaaa6cf5f555200678bf5f256ac (diff)
downloadgit-fd22c0271b33227e651be456beb4cead934f5624.zip
git-fd22c0271b33227e651be456beb4cead934f5624.tar.gz
git-fd22c0271b33227e651be456beb4cead934f5624.tar.bz2
autoconf: Checks for some programs
./configure script checks now for the following programs: * CC - using AC_PROG_CC * AR - using AC_CHECK_TOOL among ar * TAR - among gtar, tar Checks not implemented: * INSTALL - needs install-sh or install.sh in sources * RPMBUILD - not known alternatives for rpmbuild * PYTHON - no PYTHON variable in Makefile, has to set NO_PYTHON if not present Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d938546..56e765f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,13 @@ AC_DEFUN([GIT_CONF_APPEND_LINE],
## Checks for programs.
+AC_MSG_NOTICE([CHECKS for programs])
+
+AC_PROG_CC
+#AC_PROG_INSTALL # needs install-sh or install.sh in sources
+AC_CHECK_TOOL(AR, ar, :)
+AC_CHECK_PROGS(TAR, [gtar tar])
+
# Define NO_PYTHON if you want to loose all benefits of the recursive merge.