(TESTS_ENVIRONMENT): Add `pwd`/ prefix to exported PATH value (though not strictly...
[coreutils.git] / m4 / utime.m4
blobea3980a99e3c46f17b7f26d6f32681c501ef60c1
1 #serial 2
3 dnl From Jim Meyering
4 dnl Replace the utime function on systems that need it.
6 dnl FIXME
8 AC_DEFUN(jm_FUNC_UTIME,
10   AC_CHECK_HEADERS(utime.h)
11   AC_REQUIRE([jm_CHECK_TYPE_STRUCT_UTIMBUF])
12   AC_REQUIRE([AC_FUNC_UTIME_NULL])
14   if test $ac_cv_func_utime_null = no; then
15     jm_FUNC_UTIMES_NULL
16     AC_REPLACE_FUNCS(utime)
17   fi