(gl_UTIMENS): Check for futimes function.
[pspp] / m4 / utimens.m4
index 8912619e1b7da4e501a112982d66878c3eb8d027..25a1337ce725c520974de1c25ce76b01b2540255 100644 (file)
@@ -1,4 +1,4 @@
-dnl Copyright (C) 2003 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2004 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
@@ -12,4 +12,5 @@ AC_DEFUN([gl_UTIMENS],
   AC_REQUIRE([gl_FUNC_UTIMES])
   AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC])
   AC_REQUIRE([gl_CHECK_TYPE_STRUCT_UTIMBUF])
+  AC_CHECK_FUNCS_ONCE(futimes)
 ])