summaryrefslogtreecommitdiff
path: root/libgfortran/configure.ac
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>2005-08-27 18:01:54 +0200
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2005-08-27 16:01:54 +0000
commit10c682a0cb57e9ed0d5bb47a20af7932486b56a5 (patch)
tree3714317919d36904c407fd6ec57fe25087da4709 /libgfortran/configure.ac
parentec53fc93d0fbfac2037da571ce5e637ef0c437ee (diff)
downloadgcc-10c682a0cb57e9ed0d5bb47a20af7932486b56a5.tar.gz
acinclude.m4 (LIBGFOR_CHECK_UNLINK_OPEN_FILE): Add check to see if target can unlink open files.
* acinclude.m4 (LIBGFOR_CHECK_UNLINK_OPEN_FILE): Add check to see if target can unlink open files. * configure.ac: Use this new test. * config.h.in: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * aclocal.ac: Regenerate. * io/io.h: Add prototype for unpack_filename. * io/close.c (st_close): Delete file after closing unit if HAVE_UNLINK_OPEN_FILE is not defined. * io/unix.c (unpack_filename): Unlink scratch file after opening it only if HAVE_UNLINK_OPEN_FILE is defined. From-SVN: r103566
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 9dd1f5a86c8..41dc7e67b54 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -258,6 +258,9 @@ LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY
LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT
LIBGFOR_CHECK_ATTRIBUTE_ALIAS
+# Various other checks on target
+LIBGFOR_CHECK_UNLINK_OPEN_FILE
+
AC_CACHE_SAVE
if test ${multilib} = yes; then