4 dnl Replace the utime function on systems that need it.
8 AC_DEFUN([gl_FUNC_UTIME],
10 AC_REQUIRE([AC_FUNC_UTIME_NULL])
11 if test $ac_cv_func_utime_null = no; then
13 AC_DEFINE(utime, rpl_utime,
14 [Define to rpl_utime if the replacement function should be used.])
19 # Prerequisites of lib/utime.c.
20 AC_DEFUN([gl_PREREQ_UTIME],
22 AC_CHECK_HEADERS_ONCE(utime.h)
23 AC_REQUIRE([gl_CHECK_TYPE_STRUCT_UTIMBUF])