Commit Graph

139 Commits

Author SHA1 Message Date
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
Michael Sokolov
909b968ecb * libU77/sys_clock_.c: #include <sys/param.h> for the clock tick rate.
From-SVN: r39202
2001-01-23 18:35:56 +00:00
Toon Moene
a40bb4d345 Update to Netlib version 20001205.
2000-12-09  Toon Moene  <toon@moene.indiv.nluug.nl>

	Update to Netlib version 20001205.
	Thanks go to David M. Gay for these updates.

	* libF77/Version.c: Update version information.
	* libF77/z_log.c: Improve accuracy of real(log(z)) for
	z near (+-1,eps) with |eps| small.
	* libF77/s_cat.c: Adjust call when ftnint and ftnlen are
	of different size.
	* libF77/dtime_.c, libF77/etime_.c: Use floating point divide.

	* libI77/Version.c: Update version information.
	* libI77/rsne.c, libI77/xwsne.c: Adjust code for when ftnint
	and ftnlen differ in size.
	* libI77/lread.c: Fix reading of namelist logical values followed
	by <name>= where <name> starts with T or F.

From-SVN: r38152
2000-12-09 15:34:53 +00:00
Toon Moene
25080928b1 Version.c, [...]: Designate version as (experimental) instead of (prerelease)
2000-11-26  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/Version.c, libF77/Version.c, libU77/Version.c:
	Designate version as (experimental) instead of (prerelease)

From-SVN: r37759
2000-11-26 16:21:01 +00:00
Toon Moene
adcee32ccb configure.in: See if `mkstemp' is available.
2000-11-15  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/configure.in: See if `mkstemp' is available.
	* libI77/configure: Regenerate.
	* libI77/open.c: Use `mkstemp' to create scratch
	file atomically.

From-SVN: r37484
2000-11-15 18:26:42 +00:00
Donn Terry
a1337b40ca [multiple changes]
2000-07-03  Donn Terry  (donnte@microsoft.com)
        * libU77/aclocal.m4: check for 2 argument gettimeofday without
	struct timezone

2000-06-21  Zack Weinberg  <zack@wolery.cumb.org>

From-SVN: r34874
2000-07-05 19:24:53 +00:00
Toon Moene
68bcd3163a Version.c: Bumped version number to 0.5.26.
2000-07-02  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libF77/Version.c: Bumped version number to 0.5.26.
	* libI77/Version.c: Ditto.
	* libU77/Version.c: Ditto.

From-SVN: r34833
2000-07-02 15:07:29 +00:00
Zack Weinberg
723770e59d dtime_.c, etime_.c: Include stdlib.h if HAVE_STDLIB_H is defined.
* libU77/dtime_.c, libU77/etime_.c: Include stdlib.h if
	HAVE_STDLIB_H is defined.

From-SVN: r34639
2000-06-21 20:13:23 +00:00
Herman A.J. ten Brugge
65377a89bf rdfmt.c (rd_L): Use if-then-else instead of case statement to solve problems when...
2000-06-11  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>

	* rdfmt.c (rd_L): Use if-then-else instead of case statement to
	solve problems when sizeof(char) == sizeof(short).

From-SVN: r34494
2000-06-11 19:39:55 +00:00
Chris Demetriou
3eb10f8a4f configure.in: Test for __g77_integer...
* configure.in: Test for __g77_integer, __g77_uinteger,
        __g77_longint, and __g77_ulongint builtin types, rather
        than mucking around with compiler headers.
        * configure: Regenerate.
        * g2c.hin (integer, logical, flag, ftnlen, ftnint): Use
        __g77_integer rather than autoconfigured value.
        (uinteger): Use __g77_uinteger rather than autoconfigured value.
        (longint): Use __g77_longint rather than autoconfigured value.
        (ulongint): Use __g77_ulongint rather than autoconfigured value.

From-SVN: r33990
2000-05-18 10:44:27 -07:00
Toon Moene
6973bf5482 configure.in: Define IEEE_COMPLEX_DIVIDE.
* libF77/configure.in: Define IEEE_COMPLEX_DIVIDE.
	* libF77/[cz]_div.c: Arrange for compilation under
	-DIEEE_COMPLEX_DIVIDE to make these routines
	avoid calling sig_die when the denominator vanishes.
	* libF77/s_rnge.c: Add casts for the case of
	sizeof(ftnint) == sizeof(int) < sizeof(long).
	* libI77/endfile.c: Set state to writing (b->uwrt = 1) when an
	endfile statement requires copying the file
	Also, supply a missing (long) cast in the sprintf call.
	* libI77/sfe.c: Add #ifdef ALWAYS_FLUSH logic, for formatted I/O.

From-SVN: r32496
2000-03-12 19:20:47 +00:00
Kaveh R. Ghazi
4746ee266f configure (gcc_version): When setting, narrow search to lines containing `version_string'.
* configure (gcc_version): When setting, narrow search to
	lines containing `version_string'.

gcc:
	* version.c: Include gansidecl.h and version.h.

	* version.h: Wrap entire file in macro __GCC_VERSION_H__.

	* configure.in (gcc_version): When setting, narrow search to
	lines containing `version_string'.

	* Makefile.in (mainversion): Likewise.
	(GCC_H): New variable.
	(gcc.h): Delete target.
	(gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
	(version.o): Depend on version.h.
	(dbxout.o): Don't depend on gcc.h.

gcc/cp:
	* Make-lang.in (g++spec.o): Depend on $(GCC_H), not gcc.h.

gcc/f:
	* Make-lang.in (g77spec.o): Depend on $(GCC_H), not gcc.h.

gcc/java:
	* Make-lang.in (jvspec.o): Depend on $(GCC_H), not gcc.h.

libf2c:
	* configure.in (gcc_version): When setting, narrow search to
	lines containing `version_string'.

From-SVN: r32009
2000-02-16 16:22:47 +00:00
Geoff Keating
9c7acf2f8f u77-test.f (wd): Allow for longer working directory pathnames.
* gcc/testsuite/g77.f-torture/execute/u77-test.f (wd): Allow for longer
working directory pathnames.
* libf2c/libU77/u77-test.f (wd): Allow for longer working directory
pathnames.

From-SVN: r30551
1999-11-17 02:34:15 +00:00
Jeff Law
866623d4d1 acconfig.h: Define GETTIMEOFDAY_ONE_ARGUMENT and HAVE_TIMEZONE in acconfig.h.
* libU77/acconfig.h: Define GETTIMEOFDAY_ONE_ARGUMENT and
        HAVE_TIMEZONE in acconfig.h.
        * libU77/config.hin: Rebuilt.

From-SVN: r29964
1999-10-14 02:05:09 -06:00
Dave Love
9e15ef0520 aclocal.m4: Re-write, defining LIBU77_GETTIMEOFDAY, not LIBU77_HAVE_STRUCT_TIMEZONE.
* libU77/aclocal.m4: Re-write, defining LIBU77_GETTIMEOFDAY, not
        LIBU77_HAVE_STRUCT_TIMEZONE.

        * libU77/configure.in: Use LIBU77_GETTIMEOFDAY, not
        LIBU77_HAVE_STRUCT_TIMEZONE.  Don't check for gettimeofday
        separately.

        * libU77/datetime_.c (G77_date_and_time_0): Use
        GETTIMEOFDAY_ONE_ARGUMENT.

From-SVN: r29917
1999-10-12 02:39:35 -06:00
Marc Espie
4ce8ba6e5a * Makefile.in: Prepend $(SHELL) to move-if-change calls.
From-SVN: r29397
1999-09-14 01:45:42 -06:00
Daniel Jacobowitz
76632dd06d Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, libdir, libsubdir and tooldir.
* Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
        libdir, libsubdir and tooldir.
Applied in libchill, libf2c, libiberty and libobjc

From-SVN: r28569
1999-08-06 23:37:16 -06:00
Craig Burley
a24f233feb date_.c (G77_date_y2kbug_0): G77_time_0 returns longint...
* libU77/date_.c (G77_date_y2kbug_0): G77_time_0 returns
        longint, not integer, and G77_ctime_0 takes longint, not
        integer, argument.
        * libU77/Version.c: Bump version.

From-SVN: r28013
1999-07-08 08:33:14 -04:00
Craig Burley
245d977a8a Update to Netlib version of 1999-06-28, doc fix
From-SVN: r27816
1999-06-28 14:38:42 -04:00
Craig Burley
749f840d89 fix ttynam for no-ttynam case
From-SVN: r27594
1999-06-18 04:41:09 -04:00