@matheusbsbs / matheus-bagliano / commits / fd22c0271b
Fork 0

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>

Jakub Narebski committed Jul 8, 2006 at 23:07 UTC fd22c0271b33227e651be456beb4cead934f5624
2 files changed +12
config.mak.in
+5
@@ -1,6 +1,11 @@
1 # git Makefile configuration, included in main Makefile
2 # @configure_input@
3
4 +CC = @CC@
5 +AR = @AR@
6 +TAR = @TAR@
7 +#INSTALL = @INSTALL@ # needs install-sh or install.sh in sources
8 +
9 prefix = @prefix@
10 exec_prefix = @exec_prefix@
11 bindir = @bindir@
configure.ac
+7
@@ -22,6 +22,13 @@ AC_DEFUN([GIT_CONF_APPEND_LINE],
22
23
24 ## Checks for programs.
25 +AC_MSG_NOTICE([CHECKS for programs])
26 +
27 +AC_PROG_CC
28 +#AC_PROG_INSTALL # needs install-sh or install.sh in sources
29 +AC_CHECK_TOOL(AR, ar, :)
30 +AC_CHECK_PROGS(TAR, [gtar tar])
31 +
32 # Define NO_PYTHON if you want to loose all benefits of the recursive merge.
33
34