./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@xxxxxxxxx> --- If I remember correctly there was patch adding some very minimal install script for building git on some architecture. If it were added, the lines with INSTALL in configure.ac and config.mak.in should be uncommented in. Currently it is commented out to ./configure not fail. config.mak.in | 5 +++++ configure.ac | 7 +++++++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/config.mak.in b/config.mak.in index 82c9781..89520eb 100644 --- a/config.mak.in +++ b/config.mak.in @@ -1,6 +1,11 @@ # git Makefile configuration, included in main Makefile # @configure_input@ +CC = @CC@ +AR = @AR@ +TAR = @TAR@ +#INSTALL = @INSTALL@ # needs install-sh or install.sh in sources + prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ 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. -- 1.4.0 - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html