Commit Graph

51 Commits

Author SHA1 Message Date
Donn Terry
26837cfb5b standard-conforming error check for [de]time_.c
From-SVN: r26849
1999-05-09 16:03:20 -04:00
Craig Burley
dbd9ec970e Declare ABORT as intrinsic
From-SVN: r26757
1999-05-03 12:20:06 -04:00
Craig Burley
2b0bdd9a77 reverse order of arguments to CTIME_subr, DTIME_subr, ETIME_subr, and TTYNAM_subr
From-SVN: r26756
1999-05-03 12:07:36 -04:00
Craig Burley
851fc3922b declare FTELL as intrinsic
From-SVN: r26721
1999-05-01 18:45:14 -04:00
Craig Burley
78b2090a42 test more libU77 routines and interfaces
From-SVN: r26720
1999-05-01 18:36:32 -04:00
Craig Burley
f9f2ac3f2c do warn, do not crash, on FSTAT gid disagreements
From-SVN: r26719
1999-05-01 18:34:44 -04:00
Craig Burley
92e38ab5f3 allow slop in sum-checking
From-SVN: r26718
1999-05-01 18:32:23 -04:00
Craig Burley
0bfc6dd22f clean up both u77-test.f versions
From-SVN: r26717
1999-05-01 18:29:28 -04:00
Jeff Law
6b1d78bf50 Forgot to cvs add this with Mumit's previous patch.
From-SVN: r26359
1999-04-11 19:26:16 -06:00
Mumit Khan
d2ec29fbf1 dtime_.c: Handle all variants of WIN32.
* libU77/dtime_.c: Handle all variants of WIN32.
        * libU77/etime_.c: Likewise.

From-SVN: r26358
1999-04-11 19:25:38 -06:00
Mumit Khan
2bcf042cce aclocal.m4: New file.
* libU77/aclocal.m4: New file.
        * libU77/configure.in (LIBU77_HAVE_STRUCT_TIMEZONE): Add test.
        * libU77/acconfig.h (HAVE_STRUCT_TIMEZONE): Add macro.
        * libU77/datetime_c.c (G77_date_and_time_0): Use.
        * libU77/config.hin: Regenerate.
        * libU77/configure: Likewise.

From-SVN: r26353
1999-04-11 16:35:17 -06:00
Craig Burley
f177f8bfab [Nilsson] Add dependencies
From-SVN: r25611
1999-03-05 19:02:54 -05:00
Craig Burley
411d4e28f8 Warn about invoking non-Y2K-compliant intrinsics
From-SVN: r25609
1999-03-05 18:40:12 -05:00
Craig Burley
37159e91c1 Fix IDATE (VXT) intrinsic
From-SVN: r25551
1999-03-02 16:59:52 -05:00
Craig Burley
7a48ce6d73 update lib[FIU]77/configure from autoconf 2.13
From-SVN: r25396
1999-02-24 03:15:19 -05:00
Craig Burley
9074cde5db fix LSTAT intrinsic per Krister Walfridsson <cato@df.lth.se>
From-SVN: r25339
1999-02-20 09:55:52 -05:00
Craig Burley
d4ddd7b977 bump lib[IU]77's Version.c
From-SVN: r25204
1999-02-14 14:06:31 -05:00
Dave Love
1fe93ae335 datetime_.c (G77_date_and_time_0): Return milliseconds as such, not as microseconds.
1999-01-15  Dave Love  <fx@gnu.org>
	* libU77/datetime_.c (G77_date_and_time_0): Return milliseconds as
	such, not as microseconds.
	(scopy): Declare.

From-SVN: r24677
1999-01-15 06:36:01 +00:00
Kaveh R. Ghazi
168aa1fcec configure.in: Use AC_PREREQ(2.12.1).
*  configure.in: Use AC_PREREQ(2.12.1).
        *  libF77/configure.in: Likewise.
        *  libI77/configure.in: Likewise.
        *  libU77/configure.in: Likewise.

From-SVN: r23803
1998-11-23 13:58:48 +00:00
Robert Lipe
ab3003756e Makefile.in (distclean, [...]): Add multilib support.
* Makefile.in (distclean, clean, uninstall, install, all): Add
	multilib support.
	configure.in: Likewise.
	configure: Regenerate.
	* libF77/Makefile.in, libU77/Makefile.in, libI77/Makefile.in (clean):
	Explictly remove stamp in parent's directory.

From-SVN: r22519
1998-09-21 10:34:28 +00:00
Craig Burley
8c6c251db1 sys_clock_.c (G77_system_clock_0): Fix indentation.
Fri Sep  4 18:40:32 1998  Craig Burley  <burley@gnu.org>
	* libU77/sys_clock_.c (G77_system_clock_0): Fix indentation.

From-SVN: r22251
1998-09-05 10:47:39 +00:00
Craig Burley
99d7f99a7f Version.c: Update.
Tue Sep  1 10:06:06 1998  Craig Burley  <burley@gnu.org>
        * libF77/Version.c: Update.
        * libU77/Version.c: Update.
        * libI77/Version.c: Update.

From-SVN: r22155
1998-09-01 03:13:54 -06:00
Jeffrey A Law
0752c0eaad * libU77/Makefile.in: Missed one config.h.in -> config.hin change.
From-SVN: r21224
1998-07-16 15:33:58 -06:00
Jeffrey A Law
e3a0385963 g2c.hin: Renamed from g2c.h.in.
* g2c.hin: Renamed from g2c.h.in.
        * Makefile.in, configure.in: Changed as needed.
        * configure: Rebuilt.
        * libU77/config.hin: Renamed from libU77/config.h.in.
        * Makefile.in, configure.in: Changed as needed.
        * configure: Rebuilt.

From-SVN: r21202
1998-07-15 18:07:42 -06:00
Dave Love
57a159354a Update from Craig, previously missed.
From-SVN: r21187
1998-07-15 11:05:36 +00:00
Jeffrey A Law
5d01f362ff Makefile.in: stamp-lib* -> s-lib*.
* Makefile.in: stamp-lib* -> s-lib*.
        * libU77/Makefile.in: Likewise.
        * libF77/Makefile.in: Likewise.
        * libI77/Makefile.in: Likewise.

From-SVN: r21162
1998-07-14 14:27:34 -06:00
Jeffrey A Law
c2d8a824e6 * libU77/Makefile.in (ALL_CFLAGS): Add -I$(F2C_H_DIR).
From-SVN: r21129
1998-07-13 19:18:30 -06:00
Craig Burley
eeba5929b8 u77-test.f: Double-check ETIME results, just like 0.5.24 does.
Mon Jul 13 13:31:03 1998  Craig Burley  <burley@gnu.org>
	* libU77/u77-test.f: Double-check ETIME results, just
	like 0.5.24 does.

From-SVN: r21106
1998-07-13 12:13:54 +00:00
Dave Love
b1daa2150d Regenerate.
From-SVN: r21083
1998-07-12 05:15:00 +00:00
Dave Love
b53c05f514 Makefile.in: Re-write build procedure mainly to honour dependencies correctly but also allow...
1998-07-10  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in: Re-write build procedure mainly to honour
	dependencies correctly but also allow making in the build
	directory by configuring the relevant variables.  The lib[FIU]77
	subdirs do dependency checking of their objects.  Stamp files
	dictate when to run (new) archive targets in subdirs.  Some
	tidying of variables.  Supply full set of standard targets.
	* configure.in: Move much of testing to new configures in
	subdirs.  Tidy up handling of RANLIB etc.
	* stamp-h.in, libF77/configure.in, libI77/configure.in,
	libF77/configure, libI77/configure: New files.
	* libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
	Change in step with libf2c/Makefile.in.

From-SVN: r21082
1998-07-12 05:02:03 +00:00
Dave Love
43e6b44c59 (check): Wrap -lg2c ...
(check): Wrap -lg2c ... -lm around $(LIBS) in
case of static link.

From-SVN: r21036
1998-07-09 14:03:23 +00:00
Dave Love
57c417e5cb Update version info.
From-SVN: r21030
1998-07-09 03:59:25 +00:00
Dave Love
c7fb2688ea Replace TIMES conditional stuff removed in
error by last change.

From-SVN: r21027
1998-07-09 03:40:06 +00:00
Dave Love
235d853db1 f2cext.c (system_clock_): Remove (just f90 intrinsic).
1998-07-05  Dave Love  <d.love@dl.ac.uk>
	* f2cext.c (system_clock_): Remove (just f90 intrinsic).
	* Makefile.in (F2CEXT): Add datetime, remove sclock.
	(UOBJ): Add libU77/datetime_.o.
	* libU77/config.h.in: Add HAVE_GETTIMEOFDAY.
	* libU77/configure.in: Check for gettimeofday.
	* libU77/datetime_.c: New file.
	* libU77/sys_clock_.c: Allow optional args.
	* libU77/Makefile.in (G77DIR): Fix for current directory
	structure.
	(SRCS, OBJS): Add datetime.

From-SVN: r20942
1998-07-06 09:03:28 +00:00
Dave Love
a60cb98615 [multiple changes]
1998-07-06  Dave Love  <d.love@dl.ac.uk>
	* libU77/Makefile.in (lib): Change variable lib to LIBS.
1998-07-06  Robert Lipe <robertl@dgii.com>
	* libU77/configure.in: Look for -lsocket, add to LIBS if found.
	* libU77/Makefile.in (lib):  Use LIBS from above.

From-SVN: r20941
1998-07-06 09:01:43 +00:00
Dave Love
b4ce1e193b f2cext.c (system_clock_): Remove (just f90 intrinsic).
1998-07-05  Dave Love  <d.love@dl.ac.uk>
	* f2cext.c (system_clock_): Remove (just f90 intrinsic).
	* Makefile.in (F2CEXT): Add datetime, remove sclock.
	(UOBJ): Add libU77/datetime_.o.
	* libU77/config.h.in: Add HAVE_GETTIMEOFDAY.
	* libU77/configure.in: Check for gettimeofday.
	* libU77/datetime_.c: New file.
	* libU77/sys_clock_.c: Allow optional args.
	* libU77/Makefile.in (G77DIR): Fix for current directory
	structure.
	(SRCS, OBJS): Add datetime.
	* libU77/u77-test.f: Call date_and_time.  Call system_clock
	omitting args.

From-SVN: r20940
1998-07-06 08:40:35 +00:00
Dave Love
4b6a9e508e Should have been removed before.
From-SVN: r20939
1998-07-06 08:38:19 +00:00
Dave Love
63393d8cc7 Update versions to 0.5.23.
From-SVN: r20509
1998-06-15 07:57:08 +00:00
Craig Burley
f30bc2e7f5 Makefile.in (install): Don't install if $(libsubdir) is empty...
Sat Jun 13 03:46:40 1998  Craig Burley  <burley@gnu.org>
	* Makefile.in (install): Don't install if $(libsubdir)
	is empty; issue a diagnostic saying top-level Makefile
	must pass it in instead, and exit.
	* Makefile.in (g2c.h): Rename from f2c.h.
	* Makefile.in, libF77/Makefile.in, libI77/Makefile.in,
	libU77/Makefile.in: Rewrite config and var assignment
	sections to be even more minimal than before, and to
	more clearly documented what macros are expected to be
	set and to what sorts of values.  Eliminate CROSS and
	related stuff, since there's no such things as CROSS
	in egcs.  Rename GCC_FOR_TARGET to CC throughout.
	* Makefile.in (stamp-libi77, stamp-libf77, stamp-libu77):
	Eliminate CROSS.
	* configure.in: Eliminate CROSS.
	Rename libf2c.a and f2c.h to libg2c.a and g2c.h,
	normalize and simplify g77/libg2c build process:
	* Makefile.in: Remove all stuff pertaining to
	installation, cleaning, and so on.  Parent Makefile
	does all that now.  Pass F2C_H_DIR,
	G2C_H_DIR, and GCC_H_DIR, the pathnames for the
	directories containing f2c.h, g2c.h, and other
	#include files, to subdirectory Makefiles.
	(stamp-libf77, stamp-libi77, stamp-libu77):
	Don't specify `-f Makefile' anymore, it's not needed
	now that subdirectory makefile's from netlib are
	renamed to makefile.netlib in g77 source (and to
	makefile.ori by configuration process, in case they're
	still around somehow).
	(stamp-libe77): Don't make libE77 dir unless it doesn't
	exist, if it does just delete all objects in it.
	Compile using $(GCC_FOR_TARGET), not $(CC).
	(rebuilt): Remove this and all subordinate targets,
	as parent Makefile now handles all that.
	(*clean): Remove.
	* configure.in (Pad_UDread, ALWAYS_FLUSH, WANT_LEAD_0):
	Remove these and commentary to new f2c.h file.
	AC_OUTPUT g2c.h instead of f2c.h.  Remove old commentary
	regarding concatenation.
	* g2c.h.in: Rename from f2c.h.in, add appropriate
	commentary.
	* f2c.h: New file, a wrapper for g2c.h that does
	libg2c-specific stuff.
	* libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
	Change $(ALL_CFLAGS) to use F2C_H_DIR, G2C_H_DIR, and GCC_H_DIR
	macros.  Remove F2C_H macro, replace use with explicit
	dependencies on f2c.h and g2c.h.
	(*clean): Remove.

From-SVN: r20507
1998-06-15 07:52:05 +00:00
Craig Burley
6d3e8f6239 Tweaks to eliminate unnecessary differences vs.
Tweaks to eliminate unnecessary
differences vs. netlib libf2c.

From-SVN: r19878
1998-05-19 11:01:52 +00:00
Craig Burley
a843efa0d4 Update to Netlib version of 1998-04-20
From-SVN: r19877
1998-05-19 10:52:03 +00:00
Richard Henderson
1052e6e680 Bounce the ftnint argument through a local time_t.
From-SVN: r19460
1998-04-27 16:00:10 -07:00
Richard Henderson
70e1ce21e5 * libU77/ltime_.c: Bounce the ftnint argument through a local time_t.
From-SVN: r19457
1998-04-27 15:53:54 -07:00
Craig Burley
6b2fe0fbe4 (G77_hostnm_0): Fix off-by-one error
that was trashing the byte just beyond the CHARACTER*(*)
argument.

From-SVN: r19427
1998-04-27 10:11:57 +00:00
Craig Burley
a051827081 u77-test.f: Don't bother declaring etime.
* libU77/u77-test.f: Don't bother declaring etime.
        Use `implicit none' and declare mask and lenstr.
        Do ETIME/DTIME consistency check before loop, then
        use loop to verify that dtime "ticks" at some point.
        Check ETIME array-sum using single-precision add, to
        avoid spurious complaint on systems (like x86) that
        use more precision for intermediate results.
        Fix `Results of ETIME and DTIME...' message to print
        pertinent values (r1 and r2 instead of i and j).
        Change loop from 10M to 1K repeated up to 1000 times
        or until dtime "ticks".
        Print the number of 1K loops needed to see this tick.
        Answer a commented question.
        Split up a long line of output and do other prettying.
        Preset lognam in case GETLOG fails to overwrite it.
Patch from Craig.

From-SVN: r18861
1998-03-27 17:28:21 -07:00
Jeff Law
7e98cc1669 Initial revision
From-SVN: r18760
1998-03-22 11:34:31 -07:00
Jeff Law
2731cc566b Merge in g77-0.5.22.
From-SVN: r18757
1998-03-22 03:43:37 -07:00
Jeff Law
d7ab20570c Update address.
From-SVN: r18211
1998-02-23 14:57:23 -07:00
Dave Love
9992b2e1f1 u77-test.f: Tweak some o/p.
* libU77/u77-test.f: Tweak some o/p.
        * libU77/Makefile.in (check): Use -L for new directory structure.
        * Makefile.in (check): Run the u77 check.
        (config.status, Makefile): New targets.

From-SVN: r18059
1998-02-17 16:52:39 -07:00
Jeff Law
3ab1919cc2 Update autoconf/autoheader generated files.
From-SVN: r17837
1998-02-10 16:51:52 -07:00