mesa/scons
Eric Engestrom 80dcb7d4fd util: improve compiler guard
Glibc 2.26 has dropped xlocale.h, but the functions needed (strtod_l()
and strdof_l()) can be found in stdlib.h.
Improve the detection method to allow newer builds to still make use of
the locale-setting.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102454
Cc: Laurent Carlier <lordheavym@gmail.com>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Laurent Carlier <lordheavym@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
(cherry picked from commit 49b428470e)
2017-09-06 18:05:10 +03:00
..
crossmingw.py scons: Search only for mingw-w64 cross-compilers. 2014-06-06 13:15:37 +01:00
custom.py scons: ignore .hpp files in parse_source_list() 2016-11-21 12:44:46 -06:00
dxsdk.py scons: Allow to use MS's DXSDK headers with MinGW. 2009-09-14 20:12:01 +01:00
fixes.py scons: Monkey patch os.spawnve on Windows to become thread safe. 2009-07-14 12:21:25 +01:00
gallium.py util: improve compiler guard 2017-09-06 18:05:10 +03:00
llvm.py scons: update for LLVM 4.0 2017-05-08 11:24:03 +01:00
source_list.py scons: Populate top_srcdir and top_builddir variables when reading Makefiles.sources. 2012-08-14 12:19:56 +01:00
x11.py scons: Restore x11 tool behavior for backwards compatability. 2010-11-01 14:37:18 +00:00