summaryrefslogtreecommitdiff
path: root/modules/ftoastr
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-06-13 09:40:58 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-06-13 09:47:58 -0700
commit41ffc7676c455c12ebd7953e117b60dcc9a9af54 (patch)
tree19b6645ee29a9b375847da2d2152eb5a30863d52 /modules/ftoastr
parent7c102f16b7184f1da0f540e6b20d1a4eb7bc686f (diff)
downloadgnulib-41ffc7676c455c12ebd7953e117b60dcc9a9af54.tar.gz
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.
Diffstat (limited to 'modules/ftoastr')
-rw-r--r--modules/ftoastr1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/ftoastr b/modules/ftoastr
index 9010e940ed..b52ce26339 100644
--- a/modules/ftoastr
+++ b/modules/ftoastr
@@ -10,6 +10,7 @@ Depends-on:
intprops
configure.ac:
+AC_CHECK_FUNCS_ONCE([strtof])
AC_REQUIRE([gl_C99_STRTOLD])
Makefile.am: