aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/configure.ac
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-08-23 13:03:35 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-08-23 13:03:35 +0000
commitdb8092dc4c678051e1d4e3935a901dbeeef95562 (patch)
tree9abbc0a4bb0fdbe3f645d62bc422147e4a4c80db /libgfortran/configure.ac
parentb73aff3657492d5425e780ec650f2c00658a73de (diff)
downloadgcc-db8092dc4c678051e1d4e3935a901dbeeef95562.zip
gcc-db8092dc4c678051e1d4e3935a901dbeeef95562.tar.gz
gcc-db8092dc4c678051e1d4e3935a901dbeeef95562.tar.bz2
re PR libfortran/23138 ([mingw32] real(16) values are printed incorrectly)
PR libfortran/23138 * acinclude.m4 (LIBGFOR_CHECK_MINGW_SNPRINTF): New check. * configure.ac: Use LIBGFOR_CHECK_MINGW_SNPRINTF. * libgfortran.h: If HAVE_MINGW_SNPRINTF is true, use __mingw_snprintf instead of snprintf. * config.h.in: Regenerate. * configure: Regenerate. From-SVN: r127739
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r--libgfortran/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index 8709e16..8aa3b63 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -383,6 +383,9 @@ LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY
# Check whether the system has a working stat()
LIBGFOR_CHECK_WORKING_STAT
+# Check whether __mingw_snprintf() is present
+LIBGFOR_CHECK_MINGW_SNPRINTF
+
# Check for GNU libc feenableexcept
AC_CHECK_LIB([m],[feenableexcept],[have_feenableexcept=yes AC_DEFINE([HAVE_FEENABLEEXCEPT],[1],[libm includes feenableexcept])])