Fix global typo in last change: use chmod u-w, not chmod u-x.
[gnulib.git] / modules / sys_select
1 Description:
2 A <sys/select.h> for systems lacking it (e.g., Mingw).
3
4 Files:
5 m4/sys_select_h.m4
6
7 Depends-on:
8 sys_socket
9
10 configure.ac:
11 gl_HEADER_SYS_SELECT
12
13 Makefile.am:
14 BUILT_SOURCES += $(SYS_SELECT_H)
15
16 # We need the following in order to create <sys/select.h> when the system
17 # doesn't have one that works with the given compiler.
18 sys/select.h:
19         test -d sys || mkdir sys
20         rm -f $@-t $@
21         echo '#include <sys/socket.h>' >$@-t
22         chmod a-w $@-t
23         mv $@-t $@
24 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
25 MOSTLYCLEANDIRS += sys
26
27 Include:
28 #include <sys/select.h>
29
30 License:
31 LGPL
32
33 Maintainer:
34 Simon Josefsson