diff options
author | Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de> | 2004-09-26 16:52:04 +0200 |
---|---|---|
committer | Tobias Schlüter <tobi@gcc.gnu.org> | 2004-09-26 16:52:04 +0200 |
commit | bf4d99cf13529bf27567caaa6f305f276162d787 (patch) | |
tree | 83ba7c3fdfa6dc0151b0448bd885ef881eaed0cc /libgfortran/configure.ac | |
parent | 59c86e4b881c1d1c2e21424ae867c315ee713830 (diff) | |
download | gcc-bf4d99cf13529bf27567caaa6f305f276162d787.zip gcc-bf4d99cf13529bf27567caaa6f305f276162d787.tar.gz gcc-bf4d99cf13529bf27567caaa6f305f276162d787.tar.bz2 |
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libfortran/16137
* config.h.in (HAVE_POWF): Undefine.
* configure.ac: Check for 'powf' in library.
* configure: Regenerate.
* intrinsics/c99_functions.c (powf): New function.
From-SVN: r88128
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r-- | libgfortran/configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index fc20a57..f7a8b99 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -184,6 +184,7 @@ AC_CHECK_LIB([m],[logf],[AC_DEFINE([HAVE_LOGF],[1],[libm includes logf])]) AC_CHECK_LIB([m],[log10f],[AC_DEFINE([HAVE_LOG10F],[1],[libm includes log10f])]) AC_CHECK_LIB([m],[nextafter],[AC_DEFINE([HAVE_NEXTAFTER],[1],[libm includes nextafter])]) AC_CHECK_LIB([m],[nextafterf],[AC_DEFINE([HAVE_NEXTAFTERF],[1],[libm includes nextafterf])]) +AC_CHECK_LIB([m],[powf],[AC_DEFINE([HAVE_POWF],[1],[libm includes powf])]) AC_CHECK_LIB([m],[round],[AC_DEFINE([HAVE_ROUND],[1],[libm includes round])]) AC_CHECK_LIB([m],[roundf],[AC_DEFINE([HAVE_ROUNDF],[1],[libm includes roundf])]) AC_CHECK_LIB([m],[scalbnf],[AC_DEFINE([HAVE_SCALBNF],[1],[libm includes scalbnf])]) |