From d626b70f14e7675ade1d29832ecce917c139c502 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 19 Jul 2009 17:16:51 +0200 Subject: [PATCH] Fix build error on mingw with the modules sys_select and unistd. --- ChangeLog | 15 +++++++++++++++ modules/acl-tests | 1 + modules/binary-io-tests | 1 + modules/closein-tests | 1 + modules/flock-tests | 1 + modules/fsync-tests | 1 + modules/lseek-tests | 1 + modules/pipe-tests | 1 + modules/posix_spawn-tests | 1 + modules/posix_spawnp-tests | 1 + modules/stat-time-tests | 1 + modules/yesno-tests | 1 + 12 files changed, 26 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9ebf21a30..56a6bdace 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,20 @@ 2009-07-19 Bruno Haible + Fix build error on mingw with the modules sys_select and unistd. + * modules/acl-tests (Depends-on): Add close. + * modules/binary-io-tests (Depends-on): Likewise. + * modules/closein-tests (Depends-on): Likewise. + * modules/flock-tests (Depends-on): Likewise. + * modules/fsync-tests (Depends-on): Likewise. + * modules/lseek-tests (Depends-on): Likewise. + * modules/pipe-tests (Depends-on): Likewise. + * modules/posix_spawn-tests (Depends-on): Likewise. + * modules/posix_spawnp-tests (Depends-on): Likewise. + * modules/stat-time-tests (Depends-on): Likewise. + * modules/yesno-tests (Depends-on): Likewise. + +2009-07-19 Bruno Haible + Unify conditionals. * lib/pipe.h: Detect native Win32 by looking at _WIN32 and __WIN32__ macros, not at the compiler macros. diff --git a/modules/acl-tests b/modules/acl-tests index b0a3b7348..b97ece7b2 100644 --- a/modules/acl-tests +++ b/modules/acl-tests @@ -12,6 +12,7 @@ progname read-file unistd xalloc +close configure.ac: AC_CHECK_DECLS_ONCE([alarm]) diff --git a/modules/binary-io-tests b/modules/binary-io-tests index 1cdc88a13..222c2a90b 100644 --- a/modules/binary-io-tests +++ b/modules/binary-io-tests @@ -3,6 +3,7 @@ tests/test-binary-io.sh tests/test-binary-io.c Depends-on: +close configure.ac: diff --git a/modules/closein-tests b/modules/closein-tests index 57c8f91d0..4f6c3f5e0 100644 --- a/modules/closein-tests +++ b/modules/closein-tests @@ -4,6 +4,7 @@ tests/test-closein.c Depends-on: binary-io +close configure.ac: diff --git a/modules/flock-tests b/modules/flock-tests index b546594be..a7ee57cd8 100644 --- a/modules/flock-tests +++ b/modules/flock-tests @@ -3,6 +3,7 @@ tests/test-flock.c Depends-on: unistd +close configure.ac: diff --git a/modules/fsync-tests b/modules/fsync-tests index c407dc2cf..90a34233c 100644 --- a/modules/fsync-tests +++ b/modules/fsync-tests @@ -2,6 +2,7 @@ Files: tests/test-fsync.c Depends-on: +close configure.ac: diff --git a/modules/lseek-tests b/modules/lseek-tests index 5f0a4f246..557213dd8 100644 --- a/modules/lseek-tests +++ b/modules/lseek-tests @@ -3,6 +3,7 @@ tests/test-lseek.c tests/test-lseek.sh Depends-on: +close configure.ac: diff --git a/modules/pipe-tests b/modules/pipe-tests index 14d1e0fef..8fa707c52 100644 --- a/modules/pipe-tests +++ b/modules/pipe-tests @@ -4,6 +4,7 @@ tests/test-pipe.c Depends-on: progname +close configure.ac: diff --git a/modules/posix_spawn-tests b/modules/posix_spawn-tests index fc62cea81..66c5afca3 100644 --- a/modules/posix_spawn-tests +++ b/modules/posix_spawn-tests @@ -8,6 +8,7 @@ posix_spawn_file_actions_destroy stdbool unistd sys_wait +close configure.ac: AC_EGREP_CPP([notposix], [[ diff --git a/modules/posix_spawnp-tests b/modules/posix_spawnp-tests index f8c7233f7..6560e1cc7 100644 --- a/modules/posix_spawnp-tests +++ b/modules/posix_spawnp-tests @@ -18,6 +18,7 @@ sigprocmask stdbool unistd sys_wait +close configure.ac: AC_EGREP_CPP([notposix], [[ diff --git a/modules/stat-time-tests b/modules/stat-time-tests index d4f6041a2..65cbb3d17 100644 --- a/modules/stat-time-tests +++ b/modules/stat-time-tests @@ -4,6 +4,7 @@ tests/test-stat-time.c Depends-on: time sleep +close configure.ac: diff --git a/modules/yesno-tests b/modules/yesno-tests index 3d484dac0..cd19fd8f6 100644 --- a/modules/yesno-tests +++ b/modules/yesno-tests @@ -5,6 +5,7 @@ tests/test-yesno.sh Depends-on: closein binary-io +close configure.ac: -- 2.11.0