summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-08-01 09:59:45 +0000
committerJim Meyering <jim@meyering.net>1999-08-01 09:59:45 +0000
commit2ad45ed8270dc07ce8843ec964e60bf4914eb0b0 (patch)
tree7340ef5195d497ae0d3a375c253322f3cdbb2d3f
parentfd15266bbdc864e2a0c2f65f70456cd26c6b30a8 (diff)
downloadgnulib-2ad45ed8270dc07ce8843ec964e60bf4914eb0b0.tar.gz
(AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
-rw-r--r--m4/mktime.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/mktime.m4 b/m4/mktime.m4
index 085cf7e9ae..6df253b36f 100644
--- a/m4/mktime.m4
+++ b/m4/mktime.m4
@@ -4,6 +4,9 @@ dnl From Paul Eggert
dnl Check for a working mktime.
dnl This is a preview of what should appear in the next public autoconf release.
+dnl Override any existing definition.
+undefine([AC_FUNC_MKTIME])
+
AC_DEFUN(AC_FUNC_MKTIME,
[AC_REQUIRE([AC_HEADER_TIME])dnl
AC_CHECK_HEADERS(sys/time.h unistd.h)