summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ebdf532)
raw | patch | inline | side by side (parent: ebdf532)
author | Jakub Narebski <jnareb@gmail.com> | |
Sat, 8 Jul 2006 21:07:13 +0000 (23:07 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 9 Jul 2006 09:20:57 +0000 (02:20 -0700) |
./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>
* 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>
config.mak.in | patch | blob | history | |
configure.ac | patch | blob | history |
diff --git a/config.mak.in b/config.mak.in
index 82c9781f0dab92e507f831b2bbd0efcadc4bcc0c..89520ebefe768812f9ea6dde37b830a2d00d4a48 100644 (file)
--- a/config.mak.in
+++ b/config.mak.in
# 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 d938546940347c0805221dad224d4d5fc2cff6ca..56e765f7db9b78ae91f538ee3ee72042c9b508e7 100644 (file)
--- a/configure.ac
+++ b/configure.ac
## 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.