From 10c682a0cb57e9ed0d5bb47a20af7932486b56a5 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Sat, 27 Aug 2005 18:01:54 +0200 Subject: 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 --- libgfortran/configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libgfortran/configure.ac') 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 -- cgit v1.2.1