X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fcosf.m4;h=5cea6019e9cfd5c6455526cd08d541d59b9c65a7;hb=46f5f314f34a08c9305758482d7d2fdb0e999d09;hp=d552dfc2273cba54d71f943078d41b8d6874f0c8;hpb=9723bfe9bb9af8309314ad6230f7661000ba03b1;p=gnulib.git diff --git a/m4/cosf.m4 b/m4/cosf.m4 index d552dfc22..5cea6019e 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-2014 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"