We have no strtof_l calls in the code, so it doesn't make sense to
check that function's availability. We have one strtod_l call, so
let's check that instead.
I don't know if this change makes any practical difference. I just
wondered why we had HAVE_STRTOF_L ifdefs in core-util.c for code that
didn't use strtof_l.
AC_CHECK_FUNCS_ONCE([lstat])
# Non-standard
-AC_CHECK_FUNCS_ONCE([setresuid setresgid setreuid setregid seteuid setegid ppoll strsignal sig2str strtof_l pipe2 accept4])
+AC_CHECK_FUNCS_ONCE([setresuid setresgid setreuid setregid seteuid setegid ppoll strsignal sig2str strtod_l pipe2 accept4])
AC_FUNC_ALLOCA
#include <pcreposix.h>
#endif
-#ifdef HAVE_STRTOF_L
+#ifdef HAVE_STRTOD_L
#include <locale.h>
#endif
return 0;
}
-#ifdef HAVE_STRTOF_L
+#ifdef HAVE_STRTOD_L
static locale_t c_locale = NULL;
static void c_locale_destroy(void) {
/* This should be locale independent */
-#ifdef HAVE_STRTOF_L
+#ifdef HAVE_STRTOD_L
PA_ONCE_BEGIN {