X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=m4%2Fcosf.m4;h=021ee036353795af56d28890921286ba9b677f60;hb=a425462f784164b73297d8992075fd9aebd65a94;hp=d552dfc2273cba54d71f943078d41b8d6874f0c8;hpb=70cefefe1d419bb936c69f3fae8b7458e6f57815;p=gnulib.git diff --git a/m4/cosf.m4 b/m4/cosf.m4 index d552dfc22..021ee0363 100644 --- a/m4/cosf.m4 +++ b/m4/cosf.m4 @@ -1,5 +1,5 @@ -# cosf.m4 serial 1 -dnl Copyright (C) 2011 Free Software Foundation, Inc. +# cosf.m4 serial 2 +dnl Copyright (C) 2011-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. @@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_COSF], AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_COS]) + dnl Persuade glibc to declare cosf(). + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + dnl Test whether cosf() exists. Assume that cosf(), if it exists, is dnl defined in the same library as cos(). save_LIBS="$LIBS"