summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorsussman <sussman@13f79535-47bb-0310-9956-ffa450edef68>2003-07-08 16:03:37 +0000
committersussman <sussman@13f79535-47bb-0310-9956-ffa450edef68>2003-07-08 16:03:37 +0000
commitcdb1cc0907900a44242b27d2b99474e0d0e1d8ba (patch)
treeb27a85dc4db0dc1778dc596888dbda4e19d8ca58 /configure.in
parent7dcd99e6721a196527b774f8228e82b7704106c3 (diff)
downloadlibapr-cdb1cc0907900a44242b27d2b99474e0d0e1d8ba.tar.gz
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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
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