# serial 9
-# Copyright (C) 1998-1999, 2001, 2003-2004, 2006, 2009 Free Software
+# Copyright (C) 1998-1999, 2001, 2003-2004, 2006, 2009-2010 Free Software
# Foundation, Inc.
# This file is free software; the Free Software Foundation
main () {
struct stat s, t;
return ! (stat ("conftest.data", &s) == 0
- && utimes ("conftest.data", 0) == 0
- && stat ("conftest.data", &t) == 0
- && t.st_mtime >= s.st_mtime
- && t.st_mtime - s.st_mtime < 120));
+ && utimes ("conftest.data", 0) == 0
+ && stat ("conftest.data", &t) == 0
+ && t.st_mtime >= s.st_mtime
+ && t.st_mtime - s.st_mtime < 120));
}]])],
[ac_cv_func_utimes_null=yes],
[ac_cv_func_utimes_null=no],
if test $ac_cv_func_utimes_null = yes; then
AC_DEFINE([HAVE_UTIMES_NULL], [1],
- [Define if utimes accepts a null argument])
+ [Define if utimes accepts a null argument])
fi
]
)