summaryrefslogtreecommitdiff
path: root/libf2c
diff options
context:
space:
mode:
authortoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-05 19:24:53 +0000
committertoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-05 19:24:53 +0000
commit1d40d76f04c4eb89cf0220376aec197fd80503e3 (patch)
tree9087153cd61717d6fa255080d6ade01b27eb7e4e /libf2c
parent46e5a306ee65c34986256dfb1ee04c0e4dc11091 (diff)
downloadgcc-1d40d76f04c4eb89cf0220376aec197fd80503e3.tar.gz
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> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34874 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libf2c')
-rw-r--r--libf2c/ChangeLog5
-rw-r--r--libf2c/libU77/aclocal.m47
2 files changed, 10 insertions, 2 deletions
diff --git a/libf2c/ChangeLog b/libf2c/ChangeLog
index f48b5a014c1..6f57ca24198 100644
--- a/libf2c/ChangeLog
+++ b/libf2c/ChangeLog
@@ -1,5 +1,8 @@
-2000-07-02 Toon Moene <toon@moene.indiv.nluug.nl>
+2000-07-03 Donn Terry (donnte@microsoft.com)
+ * libU77/aclocal.m4: check for 2 argument gettimeofday without
+ struct timezone
+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.
diff --git a/libf2c/libU77/aclocal.m4 b/libf2c/libU77/aclocal.m4
index b9a74fd82f6..58f6a675899 100644
--- a/libf2c/libU77/aclocal.m4
+++ b/libf2c/libU77/aclocal.m4
@@ -54,8 +54,13 @@ main ()
],
[
struct timeval time;
+#ifdef HAVE_TIMEZONE
struct timezone dummy;
- gettimeofday (&time, &dummy);],
+#define DUMMY &dummy
+#else
+#define DUMMY NULL
+#endif
+ gettimeofday (&time, DUMMY);],
emacs_cv_gettimeofday_two_arguments=yes,
emacs_cv_gettimeofday_two_arguments=no))
if test $emacs_cv_gettimeofday_two_arguments = no; then