Commit Graph

158 Commits

Author SHA1 Message Date
Loren J. Rittle
a2b3412ca3 aclocal.m4 (gcc_version_trigger): Use robust path construction.
* aclocal.m4 (gcc_version_trigger): Use robust path construction.
	* configure: Rebuilt.

From-SVN: r52331
2002-04-15 20:42:28 +00:00
Toon Moene
b4f6d08917 lio.h: Treat INTEGER*1 as signed char.
2002-04-11  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/lio.h: Treat INTEGER*1 as signed char.

From-SVN: r52172
2002-04-11 19:49:56 +00:00
Phil Edwards
b87e4a4c6f Version.c: Fix misplaced leading blanks on first line.
2002-03-06  Phil Edwards  <pme@gcc.gnu.org>

	* libF77/Version.c:  Fix misplaced leading blanks on first line.
	* libI77/Version.c:  Likewise.
	* libU77/Version.c:  Likewise.

From-SVN: r50367
2002-03-06 18:42:56 +00:00
Geoffrey Keating
ceb5e20fdb aclocal.m4: Replace with version copied from libstdc++-v3.
* aclocal.m4: Replace with version copied from libstdc++-v3.
	* configure.in: Update for changes to aclocal and Makefile.
	* configure: Regenerate.
	* Makefile.in: Correct install and uninstall for cross targets.
	* libU77/configure: Regenerate.

From-SVN: r49316
2002-01-29 13:21:08 +00:00
Toon Moene
01dae62a3a Makefile.in: $(MULTISUBDIR) has an implied leading `/'; remove duplicates.
2002-01-20  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: $(MULTISUBDIR) has an implied leading `/';
	remove duplicates.
	Use libtool for removing libg2c{a|la|so} for the `uninstall' target.

From-SVN: r49021
2002-01-20 19:58:42 +00:00
Toon Moene
d7af7a9ace Makefile.in: Add missing `/' separator in last change.
2002-01-18  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: Add missing `/' separator in last change.

From-SVN: r48995
2002-01-18 20:07:36 +00:00
Toon Moene
5784b11456 Makefile.in: Install libg2c.{a|la|so} in $(libdir)$(MULTISUBDIR) instead of...
2002-01-18  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: Install libg2c.{a|la|so} in $(libdir)$(MULTISUBDIR)
	instead of $(libsubdir)$(MULTISUBDIR).

From-SVN: r48994
2002-01-18 19:58:48 +00:00
Loren J. Rittle
82598228f0 configure.in: Remove fcntl.h check; never define _POSIX_SOURCE, NO_FCNTL or OPEN_DECL.
* libI77/configure.in: Remove fcntl.h check; never define
	_POSIX_SOURCE, NO_FCNTL or OPEN_DECL.  Add check for tmpnam().
	* libI77/configure: Rebuilt.
	* libI77/config.h.in: Rebuilt.
	* libI77/Makefile.in: Remove all traces of rawio.h from
	dependencies lists.
	* libI77/fio.h (FSEEK): Unroll -j1.7 -j1.6 made 2002-01-04.
	* libI77/open.c (f_open): Use HAVE_TMPNAM.
	* libI77/rawio.h: Remove file.

From-SVN: r48875
2002-01-15 17:27:05 +00:00
John David Anglin
3bc9ce3945 configure.in (_LARGEFILE_SOURCE): AC_DEFINE.
2002-01-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* libI77/configure.in (_LARGEFILE_SOURCE): AC_DEFINE.
	* libI77/configure: Rebuilt.
	* libI77/config.h.in: Rebuilt.

From-SVN: r48853
2002-01-14 23:28:58 +00:00
Loren J. Rittle
f1ec563538 fio.h (FSEEK): Enforce type of second parameter to be off_t when...
* libI77/fio.h (FSEEK): Enforce type of second parameter to be
	off_t when prototype is missing from system headers for the
	non-standard function.

From-SVN: r48546
2002-01-04 22:24:07 +00:00
Loren J. Rittle
0cc5f81223 * Makefile.in ($(LIBG2C):): Let libtool decide when to add -lc.
From-SVN: r48529
2002-01-04 06:22:49 +00:00
Alexandre Oliva
1b3ea405b0 * Makefile.in ($(LIBG2C)): Fix -rpath argument to libtool.
From-SVN: r47606
2001-12-04 10:02:51 +00:00
Alexandre Oliva
90f86cb5d1 Makefile.in (AR, RANLIB): Add, for substitutions.
* Makefile.in (AR, RANLIB): Add, for substitutions.
(all-unilib, $(LIBG2C)): Depend on object lists, not
convenience libraries.
(s-libe77): Renamed from libE77.la; build object list.
(install): Do not move libraries to libdir.
(mostlyclean, clean): Adjust.
* libF77/Makefile.in (RANLIB): Add.
(LINK): Remove.
(../s-libf77): Renamed from ../libF77.la; build object list.
(../libfrtbegin.a): Remove target first.  Don't use $<.
(all, clean, distclean): Adjust.
* libF77/configure.in: Substitute RANLIB.
* libF77/configure: Rebuilt.
* libI77/Makefile.in (LINK): Delete.
(../s-libi77): Renamed from ../libI77.la; build object list.
(all, clean, distclean): Adjust.
* libU77/Makefile.in: Likewise.

From-SVN: r47605
2001-12-04 09:53:18 +00:00
Toon Moene
e773246d9c 2001-12-02 Toon Moene <toon@moene.indiv.nluug.nl>
* Fix typos in ChangeLog.

From-SVN: r47531
2001-12-02 14:19:02 +00:00
Toon Moene
f813aee742 re PR fortran/4885 (BACKSPACE example that doesn't work as of gcc/g77-3.0.x)
2001-01-02  Toon Moene  <toon@moene.indiv.nluug.nl>

	PR fortran/4885
	* endfile.c (t_runc): After ftruncate. seek to end-of-file.

From-SVN: r47529
2001-12-02 14:00:56 +00:00
Toon Moene
a021c4736a Makefile.in: Fix non-portable use of `$<' in z_log.c's rule.
2001-11-25  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libF77/Makefile.in: Fix non-portable use of `$<' in z_log.c's rule.

From-SVN: r47328
2001-11-25 19:12:50 +00:00
Toon Moene
60bfa76427 re PR libf2c/4930 (Taking the log of a certain complex number hangs in run time library)
2001-11-23  Toon Moene  <toon@moene.indiv.nluug.nl>

	PR libf2c/4930
	* libF77/Makefile.in: Compile z_log.c with -ffloat-store.

From-SVN: r47294
2001-11-23 21:47:22 +00:00
John David Anglin
f27315216e Makefile.in: Add MAKEOVERRIDES= to suppress exporting environment to (sub)shells.
2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* Makefile.in: Add MAKEOVERRIDES= to suppress exporting
	environment to (sub)shells.

From-SVN: r47106
2001-11-16 21:29:29 +00:00
Toon Moene
f871d7bf4b Makefile.in: Change dependencies on stamp files into dependencies on the generated .la files.
2001-11-13  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: Change dependencies on stamp files
	into dependencies on the generated .la files.
	Get rid of objlist.  Update comment.
	* libF77/Makefile.in: Ditto.
	* libI77/Makefile.in: Ditto.
	* libU77/Makefile.in: Ditto.

From-SVN: r46970
2001-11-13 00:55:38 +00:00
Hans-Peter Nilsson
a4017847d5 configure.in: Fake AC_EXEEXT invocation.
* configure.in: Fake AC_EXEEXT invocation.
	* configure: Regenerate.

From-SVN: r46385
2001-10-20 17:05:52 +00:00
David Edelsohn
2434acdcbe Makefile.in: Do not include SUBDIRS in objlist.
2001-10-20  David Edelsohn  <dje@watson.ibm.com>

	* Makefile.in: Do not include SUBDIRS in objlist.  Create
	libg2c.so from F2CEXT and SUBDIRS archives.
	* libF77/Makefile.in: Create archive.
	* libI77/Makefile.in: Same.
	* libU77/Makefile.in: Same.

From-SVN: r46384
2001-10-20 16:02:09 +00:00
Toon Moene
855e983b25 Makefile.in: Move libg2c.so and libg2c.{l}a to the same directory at install.
2001-10-05  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: Move libg2c.so and libg2c.{l}a to
	the same directory at install.

From-SVN: r46029
2001-10-05 06:51:46 +00:00
Toon Moene
4ffe74d94f Make-lang.in: Remove reference to FORTRAN_INIT.
2001-10-03  Toon Moene  <toon@moene.indiv.nluug.nl>

	gcc/f/
	* Make-lang.in: Remove reference to FORTRAN_INIT.
	* g77spec.c: Add reference to FORTRAN_INIT.

	libf2c/
	* Makefile.in: Add "AR" reference, change
	from frtbegin.o to libfrtbegin.a.
	* libF77/Makefile.in: Ditto.

From-SVN: r45985
2001-10-03 06:10:50 +00:00
Toon Moene
8a2b8c5abe Makefile.in: Make .lo the target of compilation.
2001-10-02  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libF77/Makefile.in: Make .lo the target of compilation.
	* libI77/Makefile.in: Ditto.
	* libU77/Makefile.in: Ditto.

From-SVN: r45964
2001-10-02 16:54:26 +00:00
Toon Moene
9fd7c995bf Makefile.in: Set major:minor:sub version number of shared libf2c to 0:0:0.
2001-10-01  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Makefile.in: Set major:minor:sub version number
	of shared libf2c to 0:0:0.

From-SVN: r45918
2001-10-01 06:30:39 +00:00
Juergen Pfeifer
f3f847794a ChangeLog: Forgot to check in.
2001-09-30  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libf2c/ChangeLog: Forgot to check in.
	* libf2c/libU77/config.hin: Forgot to check in.

Co-Authored-By: Toon Moene <toon@moene.indiv.nluug.nl>

From-SVN: r45914
2001-09-30 22:50:54 +00:00
Richard Earnshaw
283c8d8deb configure.in (__EXTENSIONS__): Define.
* libI77/configure.in (__EXTENSIONS__): Define.
* libI77/config.h.in, libI77/conifgure: regenerate.
* libU77/configure.in (__EXTENSIONS__): Likewise.

From-SVN: r45752
2001-09-22 13:32:38 +00:00
Toon Moene
31831acf29 configure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which might be affected by them.
2001-07-18  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
	these defines before tests which might be affected by them.
	(_XOPEN_SOURCE_EXTENDED): Define.
	* libI77/configure, libI77/config.h.in: Regenerate.

From-SVN: r44133
2001-07-18 20:50:54 +00:00
Kaveh R. Ghazi
14efa1ddc3 configure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which might be affected by them.
* libU77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
	these defines before tests which might be affected by them.
	(_XOPEN_SOURCE_EXTENDED): Define.

	* libU77/configure, libU77/config.hin: Regenerate.

From-SVN: r44108
2001-07-18 15:16:10 +00:00
Toon Moene
64135693a5 fio.h: Revert type of url from off_t to int.
2001-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/fio.h: Revert type of url from off_t to int.
	* libI77/dfe.c (c_dfe): Cast offset expression in FSEEK to off_t.
	* libI77/due.c (c_due): Ditto.  (e_rdue): Ditto.
	* libI77/ftell_.c (G77_ftell_0): Cast result of FTELL to integer.
	(G77_fseek_0): Cast offset argument of FSEEK to off_t.

From-SVN: r43910
2001-07-10 20:39:40 +00:00
Toon Moene
7e29b2612a Makefile.in: Update config.h dependencies.
2001-07-07  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/Makefile.in: Update config.h dependencies.
	* libI77/configure.in: Define _XOPEN_SOURCE and
	_FILE_OFFSET_BITS unconditionally.
	* libI77/configure: Rebuilt.
	* libI77/config.h.in: Rebuilt.
	* libI77/endfile.c (t_runc): Replace rewind by FSEEK.
	* libI77/err.c (f__nowwriting): The type of `loc' is off_t.
	* libI77/open.c (f_open): Replace rewind by FSEEK.
	* libI77/rewind.c: Include config.h.  (f_rew): Replace
	rewind by FSEEK.
	* libI77/sfe.c: Include config.h.
	* libI77/wsfe.c: Ditto.
	* libU77/configure.in: Define _XOPEN_SOURCE and
	_FILE_OFFSET_BITS unconditionally.
	* libU77/configure: Rebuilt.
	* libU77/config.hin: Rebuilt.

From-SVN: r43841
2001-07-07 18:51:58 +00:00
Toon Moene
f5aae39bbf Makefile.in: Add necessary dependencies on config.h.
2001-07-07  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/Makefile.in: Add necessary dependencies on config.h.

Co-Authored-By: Pedro Vazquez <vazquez@penelope.iqm.unicamp.br>

From-SVN: r43835
2001-07-07 14:04:22 +00:00
Toon Moene
f8d92613d0 configure.in: Check for fseeko, ftello.
2001-07-06  Toon Moene  <toon@moene.indiv.nluug.nl>
            Pedro Vazquez  <vazquez@penelope.iqm.unicamp.br>

	* configure.in: Check for fseeko, ftello.
	* configure: Rebuilt.
	* config.h.in: Rebuilt.
	* fio.h: Define FSEEK to be fseek or fseeko, depending
	on configure's findings.  Ditto for FTELL and ftell / ftello.
	* backspace.c (f_back): Use FSEEK for fseek, FTELL for ftell.
	* dfe.c (c_dfe): Ditto.
	* due.c (c_due, e_rdue): Ditto.
	* endfile.c (t_runc): Ditto.
	* err.c (f__nowreading, f__nowwriting): Ditto.
	* ftell_.c (G77_ftell_0, G77_fseek_0): Ditto.
	* inquire.c (f_inqu): Ditto.
	* open.c (f_open): Ditto.
	* rdfmt.c (rd_ed): Ditto.
	* sue.c (s_wsue, e_wsue, e_rsue): Ditto.

Co-Authored-By: Pedro Vazquez <vazquez@penelope.iqm.unicamp.br>

From-SVN: r43806
2001-07-06 12:09:39 +00:00
Zack Weinberg
861c44d0c9 * Makefile.in: Take PICFLAG and RUNTESTFLAGS out of FLAGS_TO_PASS.
From-SVN: r43761
2001-07-04 17:31:36 +00:00
Toon Moene
074919faea fio.h: Include <sys/types.h> for off_t.
2001-07-01  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/fio.h: Include <sys/types.h> for off_t.

From-SVN: r43678
2001-07-01 20:19:33 +00:00
Toon Moene
cf382a9154 fio.h: Use off_t when appropriate.
2001-07-01  Toon Moene  <toon@moene.indiv.nluug.nl>
            Pedro Vazquez  <vazquez@penelope.iqm.unicamp.br>

	* libI77/fio.h: Use off_t when appropriate.
	* libI77/backspace.c (f_back): Ditto.
	* libI77/endfile.c (t_runc): Ditto.
	* libI77/err.c (f__nowreading): Ditto.
	* libI77/ftell_.c (unit_chk): Ditto.
	* libI77/sue.c (global f__recloc, s_wsue): Ditto.

Co-Authored-By: Pedro Vazquez <vazquez@penelope.iqm.unicamp.br>

From-SVN: r43670
2001-07-01 13:18:08 +00:00
Toon Moene
a821898dd2 inquire.c: Include "config.h".
2001-06-13  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/inquire.c: Include "config.h".

From-SVN: r43350
2001-06-13 21:06:15 +00:00
Loren J. Rittle
75f153f3d4 Makefile.in (stamp-h): Create in $(objdir) instead of $(srcdir).
* libI77/Makefile.in (stamp-h): Create in $(objdir) instead
	of $(srcdir).

From-SVN: r42442
2001-05-22 11:16:51 +00:00
Andreas Jaeger
5a2c9d7035 Makefile.in (stamp-h): Only create config.h, touch stamp-h.
* libI77/Makefile.in (stamp-h): Only create config.h, touch stamp-h.
	(${srcdir}/config.h.in): Add true rule.

	* libI77/stamp-h.in: Added.

From-SVN: r42258
2001-05-18 09:45:56 +02:00
Andreas Jaeger
0314a6ce8b Makefile.in: Add rules to rebuild config.h.in when needed.
* libI77/Makefile.in: Add rules to rebuild config.h.in when
	needed.

From-SVN: r42191
2001-05-17 10:47:10 +02:00
Andreas Jaeger
5cad287eff backspace.c: Include "config.h".
* libI77/backspace.c: Include "config.h".
	* libI77/close.c: Likewise.
	* libI77/dfe.c: Likewise.
	* libI77/dolio.c: Likewise.
	* libI77/due.c: Likewise.
	* libI77/err.c: Likewise.
	* libI77/fmt.c: Likewise.
	* libI77/fmtlib.c: Likewise.
	* libI77/ftell_.c: Likewise.
	* libI77/ilnw.c: Likewise.
	* libI77/lread.c: Likewise.
	* libI77/open.c: Likewise.
	* libI77/rdfmt.c: Likewise.
	* libI77/rsfe.c: Likewise.
	* libI77/rsne.c: Likewise.
	* libI77/util.c: Likewise.
	* libI77/wrtfmt.c: Likewise.
	* libI77/wsne.c: Likewise.
	* libI77/xwsne.c: Likewise.

	* libI77/config.h.in: Generate with autoheader.

	* libI77/configure.in: Add comments for all AC_DEFINES so that
	autoheader can grok it.
	* libI77/configure: Regenerated.

From-SVN: r42162
2001-05-16 20:59:29 +02:00
Andreas Jaeger
05b7b1c1dc 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
2001-05-16 12:26:52 +02:00
Loren J. Rittle
d2c4367503 endfile.c (t_runc): Add cast to help case where ftruncate() prototype is somehow missing even...
* libI77/endfile.c (t_runc): Add cast to help case where
	ftruncate() prototype is somehow missing even though autoconf
	test found it properly.

From-SVN: r42120
2001-05-15 21:24:41 +00:00
Toon Moene
978970473b configure.in: Test for ftruncate.
2001-02-26  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/configure.in: Test for ftruncate.
	* libI77/configure: Rebuilt.
	* libI77/endfile.c: Use fflush/ftruncate when available.

From-SVN: r40072
2001-02-26 20:23:41 +00:00
Joseph Myers
7539316943 Version.c, [...]: Update G77 version number to 0.5.27.
libf2c:
	* libF77/Version.c, libI77/Version.c, libU77/Version.c: Update G77
	version number to 0.5.27.

gcc:
	* README, cpp.texi, gcc.texi, version.c: Update version number to
	3.1.
	* cpp.1, gcov.1, gcc.1: Regenerate.

gcc/f:
	* version.c, root.texi: Update GCC version number to 3.1.  Update
	G77 version number to 0.5.27.
	* BUGS, NEWS: Regenerate.

From-SVN: r39901
2001-02-19 20:03:42 +00:00
Geoffrey Keating
7c6b0e92a4 In libf2c:
* configure.in: Don't run AC_PROG_CC_WORKS, because
	we're not interested in the result and it might fail.
	* libF77/configure.in: Likewise.
	* libI77/configure.in: Likewise.
	* libU77/configure.in: Likewise.
	* configure: Regenerated.
	* libF77/configure: Likewise.
	* libI77/configure: Likewise.
	* libU77/configure: Likewise.
In libobjc:
	* configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
	we're not interested in the result and they might fail.
	* configure: Regenerated.

From-SVN: r39560
2001-02-09 07:14:35 +00:00
Phil Edwards
42c0c80add COPYING.LIB: Update to LGPL 2.1 from the FSF.
2001-01-29  Phil Edwards  <pme@sources.redhat.com>

	* COPYING.LIB:  Update to LGPL 2.1 from the FSF.

From-SVN: r39330
2001-01-29 13:32:47 +00:00
Michael Sokolov
cf480ba7da alarm_.c: Separate the #ifdef KR_headers logic from the G77_alarm_0 function definition.
* libU77/alarm_.c: Separate the #ifdef KR_headers logic from the
	G77_alarm_0 function definition.  Check for SIG_ERR and provide our own
	if missing.

From-SVN: r39256
2001-01-25 05:11:38 +00:00
David Billinghurst
bf5582ec66 Makefile.in: Explicitly generate a.out for check.
2001-01-24  David Billinghurst <David.Billinghurst@riotinto.com>

	* libU77/Makefile.in:  Explicitly generate a.out for check.

From-SVN: r39249
2001-01-24 22:24:48 +00:00
Michael Sokolov
f40ae7c1b1 ctime_.c: #include <sys/types.h> for time_t.
* libU77/ctime_.c: #include <sys/types.h> for time_t.
	* libU77/datetime_.c: Likewise.
	* libU77/fdate_.c: Likewise.
	* libU77/gmtime_.c: Likewise.
	* libU77/idate_.c: Likewise.
	* libU77/itime_.c: Likewise.
	* libU77/ltime_.c: Likewise.
	* libU77/sys_clock_.c: Likewise.
	* libU77/vxtidate_.c: Likewise.
	* libU77/vxttime_.c: Likewise.

From-SVN: r39216
2001-01-23 23:20:30 +00:00