diff options
author | fxcoudert <> | 2005-10-23 19:43:54 +0000 |
---|---|---|
committer | fxcoudert <> | 2005-10-23 19:43:54 +0000 |
commit | 4406865f586441c367adf5db953a23061aa5a0f2 (patch) | |
tree | 5d5bd3e427e9311346a6f6558c309b3c7348fc9d /libgfortran/configure.ac | |
parent | b460ad2146e69cea817895c766666cebf34f35ce (diff) |
PR libfortran/23272
* acinclude.m4 (LIBGFOR_CHECK_WORKING_STAT): New check.
* configure.ac: Use LIBGFOR_CHECK_WORKING_STAT.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* io/unix.c (compare_file_filename): Add fallback case for
systems without working stat.
* io/open.c (already_open): Correct call to
compare_file_filename.
* io/io.h: Correct proto for compare_file_filename.
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r-- | libgfortran/configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 396deb5fe6a..59354c9e188 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -337,6 +337,9 @@ LIBGFOR_CHECK_FOR_BROKEN_ISNAN # Check for a fpclassify macro that works on long doubles. LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY +# Check whether the system has a working stat() +LIBGFOR_CHECK_WORKING_STAT + # Fallback in case isfinite is not available. AC_CHECK_LIB([m],[finite],[AC_DEFINE([HAVE_FINITE],[1],[libm includes finite])]) |