From 6852289c46cdfceb07b459cd1028722ffb124ca6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 23 Jul 2012 16:52:25 -0400 Subject: Use lutimes() if available to canonicalise the timestamp of symlinks Also use utimes() instead of utime() if lutimes() is not available. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7b814dedcbfd..a2512cfe9274 100644 --- a/configure.ac +++ b/configure.ac @@ -115,6 +115,11 @@ AC_CHECK_HEADERS([sys/mount.h], [], [], ]) +# Check for lutimes, optionally used for changing the mtime of +# symlinks. +AC_CHECK_FUNCS([lutimes]) + + # Check for . AC_LANG_PUSH(C++) AC_CHECK_HEADERS([locale]) -- cgit 1.4.1