X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fcheck-math-lib.m4;h=77570f4b23dd90fb5ee4c0fb67ecaa0a01177b6a;hb=53a617f5e118ec5642daa3da45fcef0bf5593b12;hp=e23b3d3b3a9fc83a257c4ec7810b3721a4ad98ae;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/m4/check-math-lib.m4 b/m4/check-math-lib.m4 index e23b3d3b3..77570f4b2 100644 --- a/m4/check-math-lib.m4 +++ b/m4/check-math-lib.m4 @@ -1,10 +1,10 @@ -# check-math-lib.m4 serial 3 -dnl Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. +# check-math-lib.m4 serial 4 +dnl Copyright (C) 2007, 2009-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. dnl -dnl gl_CHECK_MATH_LIB (VARIABLE, EXPRESSION) +dnl gl_CHECK_MATH_LIB (VARIABLE, EXPRESSION [, EXTRA-CODE]) dnl dnl Sets the shell VARIABLE according to the libraries needed by EXPRESSION dnl to compile and link: to the empty string if no extra libraries are needed, @@ -22,6 +22,7 @@ AC_DEFUN([gl_CHECK_MATH_LIB], [ # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include + $3 double x;]], [$2])], [$1=$libm