diff options
author | hpa <hpa@bonde.sc.orionmulti.com> | 2005-09-28 16:52:21 -0700 |
---|---|---|
committer | hpa <hpa@bonde.sc.orionmulti.com> | 2005-09-28 16:52:21 -0700 |
commit | 49744d63e9c5ffdfb4677bd3aaeafb3371c3fdc1 (patch) | |
tree | 51eaa507ebb907af113e13b1adb1725798cf85aa /Makefile | |
parent | 4c505f71e60b9d152a3a9d7a59b8b5146991a288 (diff) | |
download | git-49744d63e9c5ffdfb4677bd3aaeafb3371c3fdc1.tar.gz git-49744d63e9c5ffdfb4677bd3aaeafb3371c3fdc1.tar.xz |
Call it NO_IPV6 rather than hard-coding __CYGWIN__
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -29,6 +29,8 @@ # # Define WITH_OWN_SUBPROCESS_PY if you want to use with python 2.3. # +# Define NO_IPV6 if you lack IPv6 support and getaddrinfo(). +# # Define COLLISION_CHECK below if you believe that SHA1's # 1461501637330902918203684832716283019655932542976 hashes do not give you # sufficient guarantee that no collisions between objects will ever happen. @@ -97,7 +99,11 @@ SCRIPT_PYTHON = \ # The ones that do not have to link with lcrypto nor lz. SIMPLE_PROGRAMS = \ git-get-tar-commit-id git-mailinfo git-mailsplit git-stripspace \ - git-daemon git-var + git-var +ifndef NO_IPV6 +# Not supported to IPv6-challenged platforms yet +SIMPLE_PROGRAMS += git-daemon +endif # ... and all the rest PROGRAMS = \ @@ -175,6 +181,7 @@ endif ifeq ($(shell uname -o),Cygwin) NO_STRCASESTR = YesPlease NEEDS_LIBICONV = YesPlease + NO_IPV6 = YesPlease endif ifneq (,$(findstring arm,$(shell uname -m))) ARM_SHA1 = YesPlease @@ -231,6 +238,9 @@ ifdef NO_STRCASESTR DEFINES += -Dstrcasestr=gitstrcasestr LIB_OBJS += compat/strcasestr.o endif +ifdef NO_IPV6 + DEFINES += -DNO_IPV6 +endif ifdef PPC_SHA1 SHA1_HEADER = "ppc/sha1.h" |