aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonn Terry <donnte@microsoft.com>2000-07-05 19:24:53 +0000
committerToon Moene <toon@gcc.gnu.org>2000-07-05 19:24:53 +0000
commita1337b40caeb25f5fe4869760b9b55d3cce87394 (patch)
tree9087153cd61717d6fa255080d6ade01b27eb7e4e
parentbfa697a954f5707818c5d4b06c99596754305763 (diff)
downloadgcc-a1337b40caeb25f5fe4869760b9b55d3cce87394.zip
gcc-a1337b40caeb25f5fe4869760b9b55d3cce87394.tar.gz
gcc-a1337b40caeb25f5fe4869760b9b55d3cce87394.tar.bz2
[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
-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 f48b5a0..6f57ca2 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 b9a74fd..58f6a67 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