ftoastr: use strtof only if HAVE_STRTOF
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Jun 2011 16:40:58 +0000 (09:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Jun 2011 16:47:58 +0000 (09:47 -0700)
commit41ffc7676c455c12ebd7953e117b60dcc9a9af54
tree19b6645ee29a9b375847da2d2152eb5a30863d52
parent7c102f16b7184f1da0f540e6b20d1a4eb7bc686f
ftoastr: use strtof only if HAVE_STRTOF

This is needed on HP-UX 11.11 with GCC 4.24; see Bruno Haible's report
<http://lists.gnu.org/archive/html/bug-gnulib/2011-06/msg00154.html>.
* lib/ftoastr.c (STRTOF) [LENGTH == 1]: Use strtof only if HAVE_STRTOF.
* modules/ftoastr (configure.ac): Check for strtof.
ChangeLog
lib/ftoastr.c
modules/ftoastr