X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Ffrexpl.m4;h=9df87ab82f90f6682fd65ed7ffa5997c8ff8d550;hb=85324298b2acc2f756c3e162446c810507e4c08f;hp=91f2a357b6f606df722c5973bf4d28cd752c9061;hpb=d48d7d9132b633a3a31a2f6f131ce7033f1faf8d;p=gnulib.git diff --git a/m4/frexpl.m4 b/m4/frexpl.m4 index 91f2a357b..9df87ab82 100644 --- a/m4/frexpl.m4 +++ b/m4/frexpl.m4 @@ -1,5 +1,5 @@ -# frexpl.m4 serial 18 -dnl Copyright (C) 2007-2011 Free Software Foundation, Inc. +# frexpl.m4 serial 19 +dnl Copyright (C) 2007-2012 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. @@ -8,9 +8,14 @@ AC_DEFUN([gl_FUNC_FREXPL], [ AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE]) + + dnl Persuade glibc to declare frexpl(). + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + dnl Check whether it's declared. dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in . AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [[#include ]]) + FREXPL_LIBM= if test $HAVE_DECL_FREXPL = 1; then gl_CHECK_FREXPL_NO_LIBM