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 9ebf21a303..56a6bdace5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +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. diff --git a/modules/acl-tests b/modules/acl-tests index b0a3b73485..b97ece7b2e 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 1cdc88a13b..222c2a90bd 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 57c8f91d05..4f6c3f5e00 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 b546594bed..a7ee57cd8c 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 c407dc2cfe..90a34233cb 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 5f0a4f2462..557213dd83 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 14d1e0fef1..8fa707c52f 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 fc62cea813..66c5afca3c 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 f8c7233f72..6560e1cc7d 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 d4f6041a2a..65cbb3d174 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 3d484dac04..cd19fd8f63 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.30.2