summaryrefslogtreecommitdiff
path: root/modules/sys_select
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-06-27 21:21:13 +0000
committerSimon Josefsson <simon@josefsson.org>2006-06-27 21:21:13 +0000
commit7e5eb8ffca4761e3074bf800612e095a6e7d9a6f (patch)
treec7244e5a09df2d7c00caa5c075e63f2fab0c935c /modules/sys_select
parent3343cf3b96a75fe152196e42ebe8dfa9bbbf3ca4 (diff)
downloadgnulib-7e5eb8ffca4761e3074bf800612e095a6e7d9a6f.tar.gz
Add sys_select module.
Diffstat (limited to 'modules/sys_select')
-rw-r--r--modules/sys_select32
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/sys_select b/modules/sys_select
new file mode 100644
index 0000000000..efe3f88997
--- /dev/null
+++ b/modules/sys_select
@@ -0,0 +1,32 @@
+Description:
+A <sys/select.h> for systems lacking it (e.g., Mingw).
+
+Files:
+m4/sys_select_h.m4
+
+Depends-on:
+sys_socket
+
+configure.ac:
+gl_HEADER_SYS_SELECT
+
+Makefile.am:
+BUILT_SOURCES += $(SYS_SELECT_H)
+
+# We need the following in order to create <sys/select.h> when the system
+# doesn't have one that works with the given compiler.
+sys/select.h:
+ test -d sys || mkdir sys
+ echo '#include <sys/socket.h>' >$@-t
+ mv $@-t $@
+MOSTLYCLEANFILES += sys/select.h sys/select.h-t
+MOSTLYCLEANDIRS += sys
+
+Include:
+#include <sys/select.h>
+
+License:
+LGPL
+
+Maintainer:
+Simon Josefsson