summaryrefslogtreecommitdiff
path: root/m4/utimens.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-08-09 18:36:27 +0000
committerJim Meyering <jim@meyering.net>2003-08-09 18:36:27 +0000
commit67c22b0af278f61fb2d6ec27941b1ca0b9944008 (patch)
tree3957be34a19b2ba21eecba4aa5f5121fa2721762 /m4/utimens.m4
parent3be772cf1e1fae78f4857ad3106c3500be82c4cc (diff)
downloadcoreutils-67c22b0af278f61fb2d6ec27941b1ca0b9944008.tar.xz
*** empty log message ***
Diffstat (limited to 'm4/utimens.m4')
-rw-r--r--m4/utimens.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/m4/utimens.m4 b/m4/utimens.m4
new file mode 100644
index 000000000..154999505
--- /dev/null
+++ b/m4/utimens.m4
@@ -0,0 +1,15 @@
+dnl Copyright (C) 2003 Free Software Foundation, Inc.
+dnl This file is free software, distributed under the terms of the GNU
+dnl General Public License. As a special exception to the GNU General
+dnl Public License, this file may be distributed as part of a program
+dnl that contains a configuration script generated by Autoconf, under
+dnl the same distribution terms as the rest of that program.
+
+AC_DEFUN([gl_UTIMENS],
+[
+ dnl Prerequisites of lib/utimens.c.
+ AC_REQUIRE([gl_TIMESPEC])
+ AC_REQUIRE([jm_CHECK_TYPE_STRUCT_TIMESPEC])
+ AC_REQUIRE([jm_CHECK_TYPE_STRUCT_UTIMBUF])
+ AC_CHECK_FUNCS_ONCE(utime)
+])