configure: check for xlocale.h and strtof
authorChia-I Wu <olvaffe@gmail.com>
Wed, 20 Aug 2014 06:40:23 +0000 (14:40 +0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 30 Oct 2014 09:26:19 +0000 (02:26 -0700)
commitb039dbfffd8eedef53a5ff9ae6b0ae09e6844d9c
treeed157dd7a9cda11a30383534abf40d860fb50261
parente3f20294799d727107012d40f6c973975084e4e6
configure: check for xlocale.h and strtof

With the assumptions that xlocale.h implies newlocale and strtof_l.  SCons is
updated to define HAVE_XLOCALE_H on linux and darwin.

Signed-off-by: Chia-I Wu <olv@lunarg.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
configure.ac
scons/gallium.py
src/util/strtod.cpp