ftoastr: port to hosts lacking strtof and strtold
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Nov 2010 01:31:52 +0000 (17:31 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Nov 2010 01:32:27 +0000 (17:32 -0800)
commit32a4812677fe70153e37bc19925aab9bac6a283d
tree35f0acb6a88daecda4a78310d09fba7f6f7eb3ba
parent4d9c76236622ea56af5e810f9c93f837cae46c70
ftoastr: port to hosts lacking strtof and strtold

Problem reported by Bruno Haible in
<http://lists.gnu.org/archive/html/bug-gnulib/2010-11/msg00242.html>.
* lib/ftoastr.c (STRTOF): Define to strtod if in a pre-C99
environment and strtold (and presumably strtof) are not available.
* modules/ftoastr (Files): Add m4/c-strtod.m4.
(configure.ac): Require gl_C99_STRTOLD.
ChangeLog
lib/ftoastr.c
modules/ftoastr