Commit 05b7b1c1 by Andreas Jaeger

Makefile.in (endfile.o): Add dependency on config.h.

	* libI77/Makefile.in (endfile.o): Add dependency on config.h.

	* libI77/endfile.c: Include config.h and sys/types for off_t.

	* libI77/config.h.in: New file.

	* libI77/configure.in: Add test for off_t, create config.h file.
	* libI77/configure: Regenerated.

From-SVN: r42148
parent e61fc951
2001-05-16 Andreas Jaeger <aj@suse.de>
* libI77/Makefile.in (endfile.o): Add dependency on config.h.
* libI77/endfile.c: Include config.h and sys/types for off_t.
* libI77/config.h.in: New file.
* libI77/configure.in: Add test for off_t, create config.h file.
* libI77/configure: Regenerated.
2001-05-15 Loren J. Rittle <ljrittle@acm.org>
* libI77/endfile.c (t_runc): Add cast to help case where
......
# Makefile for GNU F77 compiler runtime.
# Copyright 1990 - 1994 by AT&T Bell Laboratories and Bellcore (see the
# file `Notice').
# Portions of this file Copyright (C) 1995, 1996, 1998 Free Software Foundation, Inc.
# Portions of this file Copyright (C) 1995, 1996, 1998, 2001 Free Software Foundation, Inc.
# Contributed by Dave Love (d.love@dl.ac.uk).
#
#This file is part of GNU Fortran.
......@@ -90,7 +90,7 @@ dfe.o: fio.h
dfe.o: dfe.c fmt.h
dolio.o: dolio.c
due.o: due.c fio.h
endfile.o: endfile.c fio.h rawio.h
endfile.o: endfile.c fio.h rawio.h config.h
err.o: err.c fio.h rawio.h
fmt.o: fio.h
fmt.o: fmt.c fmt.h
......
/* Define to `long' if <sys/types.h> doesn't define. */
#undef off_t
# Process this file with autoconf to produce a configure script.
# Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc.
# Copyright (C) 1995, 1997, 1998, 2001 Free Software Foundation, Inc.
# Contributed by Dave Love (d.love@dl.ac.uk).
#
#This file is part of GNU Fortran.
......@@ -21,6 +21,7 @@
AC_PREREQ(2.12.1)
AC_INIT(ftell_.c)
AC_CONFIG_HEADER(config.h)
dnl Checks for programs.
......@@ -193,6 +194,8 @@ fi
# This EOF_CHAR is a misfeature on unix.
AC_DEFINE(NO_EOF_CHAR_CHECK)
AC_TYPE_OFF_T
AC_DEFINE(Skip_f2c_Undefs)
AC_OUTPUT(Makefile)
......
#include "config.h"
#include "f2c.h"
#include "fio.h"
#include <sys/types.h>
#include <unistd.h>
#ifdef KR_headers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment