X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fsqrtl.m4;h=0bc6ecd0d8690f8c1fe94f0deba502fb5e778666;hb=6e5f53c09490a510344a65d26f5e3989a048fcdf;hp=bc25861712e340e9b8e504419c663975d8e71046;hpb=c5b0ffbc89d44dbe044b711e393b2e4f83f696be;p=gnulib.git diff --git a/m4/sqrtl.m4 b/m4/sqrtl.m4 index bc2586171..0bc6ecd0d 100644 --- a/m4/sqrtl.m4 +++ b/m4/sqrtl.m4 @@ -1,5 +1,5 @@ -# sqrtl.m4 serial 8 -dnl Copyright (C) 2010-2012 Free Software Foundation, Inc. +# sqrtl.m4 serial 9 +dnl Copyright (C) 2010-2013 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. @@ -56,7 +56,7 @@ AC_DEFUN([gl_FUNC_SQRTL], if test $gl_cv_func_sqrtl_no_libm = yes \ || test $gl_cv_func_sqrtl_in_libm = yes; then dnl Also check whether it's declared. - dnl MacOS X 10.3 has sqrtl() in libc but doesn't declare it in . + dnl Mac OS X 10.3 has sqrtl() in libc but doesn't declare it in . AC_CHECK_DECL([sqrtl], , [HAVE_DECL_SQRTL=0], [[#include ]]) save_LIBS="$LIBS" @@ -119,11 +119,13 @@ AC_DEFUN([gl_FUNC_SQRTL_WORKS], [AC_LANG_SOURCE([[ #include #include +#ifndef sqrtl /* for AIX */ extern #ifdef __cplusplus "C" #endif long double sqrtl (long double); +#endif static long double my_ldexpl (long double x, int d) {