Code

Makefile: introduce NO_PTHREADS
authorJunio C Hamano <gitster@pobox.com>
Sat, 15 Nov 2008 12:08:14 +0000 (04:08 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Dec 2008 23:29:12 +0000 (15:29 -0800)
commit46059cc63259f7a3d408fc1e52e8da9d37dc49ff
tree45e13409837fb1b683eeb6928ca73e36ee61f0fc
parent5413812f0800e5530036671ee55476f2771ab828
Makefile: introduce NO_PTHREADS

This introduces make variable NO_PTHREADS for platforms that lack the
support for pthreads library or people who do not want to use it for
whatever reason.  When defined, it makes the multi-threaded index
preloading into a no-op, and also disables threaded delta searching by
pack-objects.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Mike Ralphson <mike@abacus.co.uk>
Tested-by: Johannes Sixt <j6t@kdbg.org> (AIX 4.3.x)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
config.mak.in
configure.ac
preload-index.c