summaryrefslogtreecommitdiff
path: root/src/config.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-08-08 20:05:31 +0000
committerRichard M. Stallman <rms@gnu.org>1996-08-08 20:05:31 +0000
commit7541d6acb2ebfcb1832972be2d2ce1061697fd5e (patch)
tree89ef06a510bc4d1aa0e0da7d49bcf59fba1ebf9e /src/config.in
parent8418139bc09bf35699091d449452377cbe9b01b9 (diff)
downloademacs-7541d6acb2ebfcb1832972be2d2ce1061697fd5e.tar.gz
(GETTIMEOFDAY_ONE_ARGUMENT): Conditionalize on HAVE_GETTIMEOFDAY.
Diffstat (limited to 'src/config.in')
-rw-r--r--src/config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.in b/src/config.in
index 898882a0f65..5c84d99c70c 100644
--- a/src/config.in
+++ b/src/config.in
@@ -135,7 +135,12 @@ Boston, MA 02111-1307, USA. */
#undef HAVE_ALLOCA_H
#undef HAVE_GETTIMEOFDAY
+/* If we don't have gettimeofday,
+ the test for GETTIMEOFDAY_ONE_ARGUMENT may succeed,
+ but we should ignore it. */
+#ifdef HAVE_GETTIMEOFDAY
#undef GETTIMEOFDAY_ONE_ARGUMENT
+#endif
#undef HAVE_GETHOSTNAME
#undef HAVE_DUP2
#undef HAVE_RENAME