diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-11-16 22:31:28 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-11-16 22:31:28 +0000 |
commit | fb0a0e15917ce9b5b28ef8b0f250cbfc1a807d59 (patch) | |
tree | 4888b0b0ef26e89b144de8f9e6446cfb15809d97 /libgfortran/configure.ac | |
parent | 4a58b9ad36aca0dfe198d8e18c9bdb38eddb4a8c (diff) | |
download | gcc-fb0a0e15917ce9b5b28ef8b0f250cbfc1a807d59.zip gcc-fb0a0e15917ce9b5b28ef8b0f250cbfc1a807d59.tar.gz gcc-fb0a0e15917ce9b5b28ef8b0f250cbfc1a807d59.tar.bz2 |
re PR libfortran/33583 (FAIL: gfortran.dg/gamma_1.f90)
PR libfortran/33583
PR libfortran/33698
* intrinsics/c99_functions.c (tgamma, tgammaf, lgamma, lgammaf):
New fallback functions.
* c99_protos.h (tgamma, tgammaf, lgamma, lgammaf): New prototypes.
* configure.ac: Add checks for tgamma, tgammaf, tgammal, lgamma,
lgammaf and lgammal.
* config.h.in: Regenerate.
* configure: Regenerate.
From-SVN: r130245
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r-- | libgfortran/configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 0d153d4..a1caf3b 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -379,6 +379,12 @@ AC_CHECK_LIB([m],[y1l],[AC_DEFINE([HAVE_Y1L],[1],[libm includes y1l])]) AC_CHECK_LIB([m],[ynf],[AC_DEFINE([HAVE_YNF],[1],[libm includes ynf])]) AC_CHECK_LIB([m],[yn],[AC_DEFINE([HAVE_YN],[1],[libm includes yn])]) AC_CHECK_LIB([m],[ynl],[AC_DEFINE([HAVE_YNL],[1],[libm includes ynl])]) +AC_CHECK_LIB([m],[tgamma],[AC_DEFINE([HAVE_TGAMMA],[1],[libm includes tgamma])]) +AC_CHECK_LIB([m],[tgammaf],[AC_DEFINE([HAVE_TGAMMAF],[1],[libm includes tgammaf])]) +AC_CHECK_LIB([m],[tgammal],[AC_DEFINE([HAVE_TGAMMAL],[1],[libm includes tgammal])]) +AC_CHECK_LIB([m],[lgamma],[AC_DEFINE([HAVE_LGAMMA],[1],[libm includes lgamma])]) +AC_CHECK_LIB([m],[lgammaf],[AC_DEFINE([HAVE_LGAMMAF],[1],[libm includes lgammaf])]) +AC_CHECK_LIB([m],[lgammal],[AC_DEFINE([HAVE_LGAMMAL],[1],[libm includes lgammal])]) # On AIX, clog is present in libm as __clog AC_CHECK_LIB([m],[__clog],[AC_DEFINE([HAVE_CLOG],[1],[libm includes clog])]) |