author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | |
Mon, 28 Mar 2011 07:39:59 +0000 (09:39 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 28 Mar 2011 17:54:54 +0000 (10:54 -0700) | ||
commit | cea13a8d685802389fad5b1ffce3af38175a8a01 | |
tree | c139153cd3e3d44c9a75c6872f8333de23179ded | tree | snapshot |
parent | 8cc299daf29c6726acada3ffad87c3fe2098aa02 | commit | diff |
Improve test for pthreads flag
When compiling with CC=clang using Clang 1.1 as shipped by Debian
unstable (package version 2.7-3), the -mt flag is sufficient to compile
during the `configure` test. However, building git would then fail at
link time complaining about missing symbols such as `pthread_key_create'
and `pthread_create'.
Work around this issue by adding pthread key creation to the pthreads
configure test source.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When compiling with CC=clang using Clang 1.1 as shipped by Debian
unstable (package version 2.7-3), the -mt flag is sufficient to compile
during the `configure` test. However, building git would then fail at
link time complaining about missing symbols such as `pthread_key_create'
and `pthread_create'.
Work around this issue by adding pthread key creation to the pthreads
configure test source.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
configure.ac | diff | blob | history |