Eric Blake <ebl...@redhat.com> writes: > Or even better, why not push those two tests upstream into autoconf, > then have gnulib override AC_FUNC_STRTOD if it detects older autoconf, > so that everyone using upstream AC_FUNC_STRTOD can reliably detect these > same bugs?
The strtod() tests that are currently in gl_FUNC_STRTOD, but not in AC_FUNC_STRTOD, are tests for C99 features that are not in C90. The Autoconf manual's description of AC_FUNC_STRTOD says only that it tests that strtod() works "correctly", but it does not say what standard it is testing against. Is it appropriate for AC_FUNC_STRTOD to start requiring a C99-compliant strtod()? -- Ben Pfaff http://benpfaff.org