From cdb1cc0907900a44242b27d2b99474e0d0e1d8ba Mon Sep 17 00:00:00 2001 From: sussman Date: Tue, 8 Jul 2003 16:03:37 +0000 Subject: Finish the new timestamp-setting API, thanks to helpful tips from Brane and Cliff. Hopefully this will go out in httpd-2.0.48, and then subversion can make use of it. * configure.in: use AC_CHECK_FUNCS to look for utimes() and utime(). * file_io/unix/filestat.c (apr_file_mtime_set): use the new constants. * file_io/netware/filestat.c (apr_file_mtime_set): add dummy placeholder. * file_io/os2/filestat.c (apr_file_mtime_set): add dummy placeholder. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64566 13f79535-47bb-0310-9956-ffa450edef68 --- configure.in | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 2ea66c18e..b60c8cfcb 100644 --- a/configure.in +++ b/configure.in @@ -788,6 +788,7 @@ AC_CHECK_FUNCS(writev) sendfile="0" AC_CHECK_LIB(sendfile, sendfilev) AC_CHECK_FUNCS(sendfile send_file sendfilev, [ sendfile="1" ]) +AC_CHECK_FUNCS(utime utimes) dnl THIS MUST COME AFTER THE THREAD TESTS - FreeBSD doesn't always have a dnl threaded poll() and we don't want to use sendfile on early FreeBSD -- cgit v1.2.1