mesa/scons
Vinson Lee c5d0dc7fa5 scons: Check for xlocale.h before defining HAVE_XLOCALE_H.
Don't assume the header is present on some platforms - use the more
robust CheckHeader() instead.

glibc 2.26 removed xlocale.h.
https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27

Fix this build error with glibc 2.26.

  Compiling src/util/strtod.c ...
src/util/strtod.c:32:10: fatal error: xlocale.h: No such file or directory
 #include <xlocale.h>
          ^~~~~~~~~~~

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101657
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Tested-by: Eric Engestrom <eric.engestrom@imgtec.com>
2017-07-06 09:51:28 -07:00
..
crossmingw.py scons: Search only for mingw-w64 cross-compilers. 2014-06-06 13:15:37 +01:00
custom.py scons: allow .inl file extension 2017-06-30 13:26:19 -05:00
dxsdk.py
fixes.py
gallium.py scons: Check for xlocale.h before defining HAVE_XLOCALE_H. 2017-07-06 09:51:28 -07:00
llvm.py scons: update for LLVM 4.0 2017-05-04 18:05:04 +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