2 dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gl_FUNC_STRTOD],
9 AC_REQUIRE([AC_FUNC_STRTOD])
10 if test $ac_cv_func_strtod = no; then
11 AC_DEFINE(strtod, rpl_strtod,
12 [Define to rpl_strtod if the replacement function should be used.])
17 # Prerequisites of lib/strtod.c.
18 # The need for pow() is already handled by AC_FUNC_STRTOD.
19 AC_DEFUN([gl_PREREQ_STRTOD], [
20 AC_REQUIRE([AC_HEADER_STDC])
21 AC_CHECK_FUNCS_ONCE(isascii)