25a1337ce725c520974de1c25ce76b01b2540255
[gnulib.git] / m4 / utimens.m4
1 dnl Copyright (C) 2003, 2004 Free Software Foundation, Inc.
2 dnl This file is free software, distributed under the terms of the GNU
3 dnl General Public License.  As a special exception to the GNU General
4 dnl Public License, this file may be distributed as part of a program
5 dnl that contains a configuration script generated by Autoconf, under
6 dnl the same distribution terms as the rest of that program.
7
8 AC_DEFUN([gl_UTIMENS],
9 [
10   dnl Prerequisites of lib/utimens.c.
11   AC_REQUIRE([gl_TIMESPEC])
12   AC_REQUIRE([gl_FUNC_UTIMES])
13   AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC])
14   AC_REQUIRE([gl_CHECK_TYPE_STRUCT_UTIMBUF])
15   AC_CHECK_FUNCS_ONCE(futimes)
16 ])