Tizen 2.0 Release
[external/tizen-coreutils.git] / m4 / strtod.m4
1 # strtod.m4 serial 6
2 dnl Copyright (C) 2002, 2003, 2006, 2007 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.
6
7 AC_DEFUN([gl_FUNC_STRTOD],
8 [
9   AC_FUNC_STRTOD
10   dnl Note: AC_FUNC_STRTOD does AC_LIBOBJ(strtod).
11   if test $ac_cv_func_strtod = no; then
12     AC_DEFINE(strtod, rpl_strtod,
13       [Define to rpl_strtod if the replacement function should be used.])
14     gl_PREREQ_STRTOD
15   fi
16 ])
17
18 # Prerequisites of lib/strtod.c.
19 # The need for pow() is already handled by AC_FUNC_STRTOD.
20 AC_DEFUN([gl_PREREQ_STRTOD], [:])