summaryrefslogtreecommitdiff
path: root/libgfortran/config.h.in
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-27 16:01:54 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-27 16:01:54 +0000
commit1dc95e51b6a997cb9ed237f0ee1df56782c8a00e (patch)
tree3714317919d36904c407fd6ec57fe25087da4709 /libgfortran/config.h.in
parent4f330f9b87ea73a85ab24f4815149c00da3bcfaf (diff)
downloadgcc-1dc95e51b6a997cb9ed237f0ee1df56782c8a00e.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103566 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/config.h.in')
-rw-r--r--libgfortran/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in
index 1b58cc86a86..c84938e0809 100644
--- a/libgfortran/config.h.in
+++ b/libgfortran/config.h.in
@@ -291,6 +291,9 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
+/* Define if target can unlink open files. */
+#undef HAVE_UNLINK_OPEN_FILE
+
/* libm includes y0 */
#undef HAVE_Y0