Enable threaded delta search on *BSD and Linux.
Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
93310a40eb
commit
38bd64979a
5
Makefile
5
Makefile
@ -565,9 +565,11 @@ EXTLIBS =
|
|||||||
|
|
||||||
ifeq ($(uname_S),Linux)
|
ifeq ($(uname_S),Linux)
|
||||||
NO_STRLCPY = YesPlease
|
NO_STRLCPY = YesPlease
|
||||||
|
THREADED_DELTA_SEARCH = YesPlease
|
||||||
endif
|
endif
|
||||||
ifeq ($(uname_S),GNU/kFreeBSD)
|
ifeq ($(uname_S),GNU/kFreeBSD)
|
||||||
NO_STRLCPY = YesPlease
|
NO_STRLCPY = YesPlease
|
||||||
|
THREADED_DELTA_SEARCH = YesPlease
|
||||||
endif
|
endif
|
||||||
ifeq ($(uname_S),UnixWare)
|
ifeq ($(uname_S),UnixWare)
|
||||||
CC = cc
|
CC = cc
|
||||||
@ -665,6 +667,7 @@ ifeq ($(uname_S),FreeBSD)
|
|||||||
BASIC_CFLAGS += -I/usr/local/include
|
BASIC_CFLAGS += -I/usr/local/include
|
||||||
BASIC_LDFLAGS += -L/usr/local/lib
|
BASIC_LDFLAGS += -L/usr/local/lib
|
||||||
DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
|
DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
|
||||||
|
THREADED_DELTA_SEARCH = YesPlease
|
||||||
endif
|
endif
|
||||||
ifeq ($(uname_S),OpenBSD)
|
ifeq ($(uname_S),OpenBSD)
|
||||||
NO_STRCASESTR = YesPlease
|
NO_STRCASESTR = YesPlease
|
||||||
@ -672,6 +675,7 @@ ifeq ($(uname_S),OpenBSD)
|
|||||||
NEEDS_LIBICONV = YesPlease
|
NEEDS_LIBICONV = YesPlease
|
||||||
BASIC_CFLAGS += -I/usr/local/include
|
BASIC_CFLAGS += -I/usr/local/include
|
||||||
BASIC_LDFLAGS += -L/usr/local/lib
|
BASIC_LDFLAGS += -L/usr/local/lib
|
||||||
|
THREADED_DELTA_SEARCH = YesPlease
|
||||||
endif
|
endif
|
||||||
ifeq ($(uname_S),NetBSD)
|
ifeq ($(uname_S),NetBSD)
|
||||||
ifeq ($(shell expr "$(uname_R)" : '[01]\.'),2)
|
ifeq ($(shell expr "$(uname_R)" : '[01]\.'),2)
|
||||||
@ -680,6 +684,7 @@ ifeq ($(uname_S),NetBSD)
|
|||||||
BASIC_CFLAGS += -I/usr/pkg/include
|
BASIC_CFLAGS += -I/usr/pkg/include
|
||||||
BASIC_LDFLAGS += -L/usr/pkg/lib
|
BASIC_LDFLAGS += -L/usr/pkg/lib
|
||||||
ALL_LDFLAGS += -Wl,-rpath,/usr/pkg/lib
|
ALL_LDFLAGS += -Wl,-rpath,/usr/pkg/lib
|
||||||
|
THREADED_DELTA_SEARCH = YesPlease
|
||||||
endif
|
endif
|
||||||
ifeq ($(uname_S),AIX)
|
ifeq ($(uname_S),AIX)
|
||||||
NO_STRCASESTR=YesPlease
|
NO_STRCASESTR=YesPlease
|
||||||
|
Reference in New Issue
Block a user