* m4/string_h.m4 (gl_STRING_MODULE_INDICATOR): Correct m4 usage
[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 AC_PROG_MKDIR_P
13
14 Makefile.am:
15 BUILT_SOURCES += $(SYS_SELECT_H)
16
17 # We need the following in order to create <sys/select.h> when the system
18 # doesn't have one that works with the given compiler.
19 sys/select.h:
20         @MKDIR_P@ sys
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23           echo '#include <sys/socket.h>'; \
24         } > $@-t
25         mv $@-t $@
26 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
27 MOSTLYCLEANDIRS += sys
28
29 Include:
30 #include <sys/select.h>
31
32 License:
33 LGPL
34
35 Maintainer:
36 Simon Josefsson