X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fsqrtf.m4;h=c2e09ea3749d3281702dddeb7e4fa37b170edd1a;hb=270e2d3e2966d9a5bc16dd0b367b71740b8994d5;hp=962a9261f7bacde8f8a32c7d47665dc94a3ca9a2;hpb=6a586a91c909c2dde4390037f5ee672978075b49;p=gnulib.git diff --git a/m4/sqrtf.m4 b/m4/sqrtf.m4 index 962a9261f..c2e09ea37 100644 --- a/m4/sqrtf.m4 +++ b/m4/sqrtf.m4 @@ -1,5 +1,5 @@ -# sqrtf.m4 serial 1 -dnl Copyright (C) 2011 Free Software Foundation, Inc. +# sqrtf.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_SQRTF], AC_REQUIRE([gl_MATH_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_SQRT]) + dnl Persuade glibc to declare sqrtf(). + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + dnl Test whether sqrtf() exists. Assume that sqrtf(), if it exists, is dnl defined in the same library as sqrt(). save_LIBS="$LIBS"