summaryrefslogtreecommitdiff
path: root/m4/utimbuf.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-08-17 17:57:38 +0000
committerJim Meyering <jim@meyering.net>2003-08-17 17:57:38 +0000
commit69d741ae8e8fcd1c18c965bac6e7cf147e96361b (patch)
tree62e073815068d79325944748054095e31aba1134 /m4/utimbuf.m4
parent56f3c86407c47dde33e1c558312525a4a671b157 (diff)
downloadcoreutils-69d741ae8e8fcd1c18c965bac6e7cf147e96361b.tar.xz
Sync with gnulib.
Diffstat (limited to 'm4/utimbuf.m4')
-rw-r--r--m4/utimbuf.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/utimbuf.m4 b/m4/utimbuf.m4
index 4ea49523e..21724aafb 100644
--- a/m4/utimbuf.m4
+++ b/m4/utimbuf.m4
@@ -1,4 +1,4 @@
-#serial 4
+#serial 5
dnl From Jim Meyering
@@ -8,7 +8,7 @@ dnl Some systems have utime.h but don't declare the struct anywhere.
AC_DEFUN([jm_CHECK_TYPE_STRUCT_UTIMBUF],
[
- AC_CHECK_HEADERS(utime.h)
+ AC_CHECK_HEADERS_ONCE(sys/time.h utime.h)
AC_REQUIRE([AC_HEADER_TIME])
AC_CACHE_CHECK([for struct utimbuf], fu_cv_sys_struct_utimbuf,
[AC_TRY_COMPILE(
@@ -34,7 +34,7 @@ AC_DEFUN([jm_CHECK_TYPE_STRUCT_UTIMBUF],
if test $fu_cv_sys_struct_utimbuf = yes; then
AC_DEFINE(HAVE_STRUCT_UTIMBUF, 1,
-[Define if struct utimbuf is declared -- usually in <utime.h>.
- Some systems have utime.h but don't declare the struct anywhere. ])
+ [Define if struct utimbuf is declared -- usually in <utime.h>.
+ Some systems have utime.h but don't declare the struct anywhere. ])
fi
])