diff options
author | Greg Kurz <groug@kaod.org> | 2017-05-25 10:30:14 +0200 |
---|---|---|
committer | Greg Kurz <groug@kaod.org> | 2017-05-25 10:30:14 +0200 |
commit | fcdcf1eed2fd26bfe836080755ba4322d3c1f2cc (patch) | |
tree | cf3400a0f71931bbb1514337c9836aa85fa583df /configure | |
parent | 24df3371d97a7516605aef8abbc253a8c162b211 (diff) |
util: drop old utimensat() compat code
Now that 9pfs and virtfs-proxy-helper have been converted to utimensat(),
we don't need to keep qemu_utimens() anymore.
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -3629,25 +3629,6 @@ if compile_prog "" "" ; then inotify1=yes fi -# check if utimensat and futimens are supported -utimens=no -cat > $TMPC << EOF -#define _ATFILE_SOURCE -#include <stddef.h> -#include <fcntl.h> -#include <sys/stat.h> - -int main(void) -{ - utimensat(AT_FDCWD, "foo", NULL, 0); - futimens(0, NULL); - return 0; -} -EOF -if compile_prog "" "" ; then - utimens=yes -fi - # check if pipe2 is there pipe2=no cat > $TMPC << EOF @@ -5434,9 +5415,6 @@ fi if test "$curses" = "yes" ; then echo "CONFIG_CURSES=y" >> $config_host_mak fi -if test "$utimens" = "yes" ; then - echo "CONFIG_UTIMENSAT=y" >> $config_host_mak -fi if test "$pipe2" = "yes" ; then echo "CONFIG_PIPE2=y" >> $config_host_mak fi |