From 2f6abcc9f5b2d31a6ea032e075fc923d3ed79b0a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 2 Feb 2019 13:01:55 -0800 Subject: dtoastr,ftoastr,ldtoastr: port to c-strtod changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Decouple these modules from c-strtod. Nowadays it’s reasonable to assume the C99 signatures for strtod and strtold. Programs that require stricter adherence to C99 should also use the strtod and strtold modules as needed, and we no longer need the HAVE_C99_STRTOLD macro. * NEWS: Mention this. * lib/ftoastr.c (STRTOF) [LENGTH == 3]: Assume strtold. * m4/c-strtod.m4 (gl_C_STRTOLD): Do not define HAVE_C99_STRTOLD. * modules/dtoastr, modules/ftoastr, modules/ldtoastr: (Files): Remove m4/c-strtod.m4. (configure.ac): Do not require gl_C99_STRTOLD, which no longer exists. --- modules/ftoastr | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/ftoastr') diff --git a/modules/ftoastr b/modules/ftoastr index 2d583d4912..0088db160e 100644 --- a/modules/ftoastr +++ b/modules/ftoastr @@ -4,7 +4,6 @@ Convert float to accurate string. Files: lib/ftoastr.h lib/ftoastr.c -m4/c-strtod.m4 Depends-on: extensions @@ -12,7 +11,6 @@ intprops configure.ac: AC_CHECK_FUNCS_ONCE([strtof]) -AC_REQUIRE([gl_C99_STRTOLD]) Makefile.am: lib_SOURCES += ftoastr.c -- cgit v1.2.1