diff options
author | Max Horn <max@quendi.de> | 2012-11-28 00:28:51 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-11-27 22:33:50 -0800 |
commit | e0a52279304a67d6e13c5a5b4165dd09f6ba61aa (patch) | |
tree | 7e75493099786de10f80f77924ae3fd3559aa7b1 /Documentation/git-web--browse.txt | |
parent | Merge branch 'nd/maint-compat-fnmatch-fix' into maint (diff) | |
download | tgif-e0a52279304a67d6e13c5a5b4165dd09f6ba61aa.tar.xz |
configure.ac: fix pthreads detection on Mac OS X
The configure script checks whether certain flags are required to use
pthreads. But it did not consider that *none* might be needed (as is the
case on Mac OS X). This lead to configure adding "-mt" to the list of
flags (which does nothing on OS X except producing a warning). This in
turn triggered a compiler warning on every single file.
To solve this, we now first check if pthreads work without extra flags.
This means the check is now order dependant, hence a comment is added
explaining this, and the reasons for it.
Note that it might be possible to write an order independent test, but
it does not seem worth the extra effort required for implementing and
testing such a solution, when this simple solution exists and works.
Signed-off-by: Max Horn <max@quendi.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-web--browse.txt')
0 files changed, 0 insertions, 0 deletions