diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-11-16 11:06:26 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-10-21 17:40:30 +0200 |
commit | 9ffd297249e8c99ac276b37c49725f6d2ef20b52 (patch) | |
tree | d0974e43939938c106d0976e4db7e616cd3e5af7 /configure.ac | |
parent | 30247dc414fb38329f580b1d41abbe202285adbe (diff) | |
download | guile-9ffd297249e8c99ac276b37c49725f6d2ef20b52.tar.gz |
Allow file ports in ‘utime’.
Ports representing symbolic links are currently unsupported.
* configure.ac: Detect 'futimens'.
* doc/ref/posix.texi (utime): Update documentation.
* libguile/posix.c (scm_utime): Support ports.
* libguile/posix.h (scm_utime): Rename argument.
* test-suite/tests/posix.test ("utime"): Add more tests.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 82c0c8bb1..e4e407afa 100644 --- a/configure.ac +++ b/configure.ac @@ -508,7 +508,7 @@ AC_CHECK_HEADERS([crt_externs.h]) # truncate - not in mingw # isblank - available as a GNU extension or in C99 # _NSGetEnviron - Darwin specific -# strcoll_l, newlocale, uselocale, utimensat - POSIX.1-2008 +# strcoll_l, newlocale, uselocale, utimensat, futimens - POSIX.1-2008 # strtol_l - non-POSIX, found in glibc # fork - unavailable on Windows # sched_getaffinity, sched_setaffinity - GNU extensions (glibc) @@ -526,7 +526,7 @@ AC_CHECK_FUNCS([DINFINITY DQNAN cexp chsize clog clog10 ctermid \ getgrent kill getppid getpgrp fork setitimer getitimer strchr strcmp \ index bcopy rindex truncate isblank _NSGetEnviron \ strcoll_l strtod_l strtol_l newlocale uselocale utimensat \ - sched_getaffinity sched_setaffinity sendfile pipe2]) + futimens sched_getaffinity sched_setaffinity sendfile pipe2]) # The newlib C library uses _NL_ prefixed locale langinfo constants. AC_CHECK_DECLS([_NL_NUMERIC_GROUPING], [], [], [[#include <langinfo.h>]]) |