summaryrefslogtreecommitdiff
path: root/config.mak.in
diff options
context:
space:
mode:
authorDavid Aguilar <davvid@gmail.com>2009-05-31 01:35:51 -0700
committerJunio C Hamano <gitster@pobox.com>2009-05-31 17:57:59 -0700
commite1c068869216c8c231c1585bbfa9fda42b4756f8 (patch)
tree929b5984b0ce8bfaba925a84ebb5ae04e7559e28 /config.mak.in
parent0620b39b3b7b1f27bf863d9591fd8146a9a8931d (diff)
downloadgit-e1c068869216c8c231c1585bbfa9fda42b4756f8.tar.gz
compat: add a basename() compatibility function
Some systems such as Windows lack libgen.h so provide a basename() implementation for cross-platform use. This introduces the NO_LIBGEN_H construct to the Makefile and autoconf scripts. Signed-off-by: David Aguilar <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.mak.in')
-rw-r--r--config.mak.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.in b/config.mak.in
index b6619af1b9..e8d96e88b9 100644
--- a/config.mak.in
+++ b/config.mak.in
@@ -30,6 +30,7 @@ NEEDS_SSL_WITH_CRYPTO=@NEEDS_SSL_WITH_CRYPTO@
NO_OPENSSL=@NO_OPENSSL@
NO_CURL=@NO_CURL@
NO_EXPAT=@NO_EXPAT@
+NO_LIBGEN_H=@NO_LIBGEN_H@
NEEDS_LIBICONV=@NEEDS_LIBICONV@
NEEDS_SOCKET=@NEEDS_SOCKET@
NO_SYS_SELECT_H=@NO_SYS_SELECT_H@