X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fprintf-frexpl.m4;h=14ffe1fc1a7d05a04b5007ed69c4f23bfe21cc7a;hb=fc80165c92e8b92da6e88e4fdb9c472125124fa0;hp=1de9b8df5047c673adf87392b4c730af12afae60;hpb=448ec2a239c13424d2d6ddd47fd324a2bab2667f;p=gnulib.git diff --git a/m4/printf-frexpl.m4 b/m4/printf-frexpl.m4 index 1de9b8df5..14ffe1fc1 100644 --- a/m4/printf-frexpl.m4 +++ b/m4/printf-frexpl.m4 @@ -1,5 +1,5 @@ -# printf-frexpl.m4 serial 5 -dnl Copyright (C) 2007 Free Software Foundation, Inc. +# printf-frexpl.m4 serial 6 +dnl Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -28,9 +28,11 @@ AC_DEFUN([gl_FUNC_PRINTF_FREXPL], esac else gl_func_frexpl_no_libm=no + dnl Set REPLACE_FREXPL here because the system may have frexpl in libm. + REPLACE_FREXPL=1 fi if test $gl_func_frexpl_no_libm = yes; then - AC_DEFINE([HAVE_FREXPL_IN_LIBC], 1, + AC_DEFINE([HAVE_FREXPL_IN_LIBC], [1], [Define if the frexpl function is available in libc.]) dnl Also check whether it's declared. dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in . @@ -51,7 +53,7 @@ AC_DEFUN([gl_FUNC_PRINTF_FREXPL], gl_FUNC_LDEXPL_WORKS case "$gl_cv_func_ldexpl_works" in *yes) - AC_DEFINE([HAVE_LDEXPL_IN_LIBC], 1, + AC_DEFINE([HAVE_LDEXPL_IN_LIBC], [1], [Define if the ldexpl function is available in libc.]) dnl Also check whether it's declared. dnl MacOS X 10.3 has ldexpl() in libc but doesn't declare it in .