summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorBen Walton <bwalton@artsci.utoronto.ca>2009-03-12 19:20:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-03-13 06:23:39 (GMT)
commit1973b0d790155b5d8a32a6f7401116fad2205721 (patch)
treef371118470c4418630d4203a8ffb29921fdc219e /dir.c
parenta8304f7a70832a8e333fcf547589bc9d3bc0ca3c (diff)
downloadgit-1973b0d790155b5d8a32a6f7401116fad2205721.zip
git-1973b0d790155b5d8a32a6f7401116fad2205721.tar.gz
git-1973b0d790155b5d8a32a6f7401116fad2205721.tar.bz2
configure: rework pthread handling to allow for user defined flags
The tests for POSIX threads can now be controlled by the user with the --enable-pthreads=FLAGS option. If this is set (to some value other than yes or no), the value is passed to the compiler. Thread support is based solely on the outcome of this test. The user may specify not to use threading at all or to use the default tests (first -pthread then -lpthread) by not specifying FLAGS when passing --enable-pthreads. Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions