New module 'sched'.
[gnulib.git] / modules / sys_select
index f182f26..f2f7698 100644 (file)
@@ -2,11 +2,13 @@ Description:
 A <sys/select.h> for systems lacking it.
 
 Files:
-lib/sys_select_.h
+lib/sys_select.in.h
+lib/winsock-select.c
 m4/sys_select_h.m4
 
 Depends-on:
-absolute-header
+alloca
+include_next
 sys_socket
 
 configure.ac:
@@ -18,13 +20,16 @@ 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:
+sys/select.h: sys_select.in.h
        @MKDIR_P@ sys
        rm -f $@-t $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
-         sed -e 's|@''ABSOLUTE_SYS_SELECT_H''@|$(ABSOLUTE_SYS_SELECT_H)|g' \
+         sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+             -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+             -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
              -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
-             < $(srcdir)/sys_select_.h; \
+             -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
+             < $(srcdir)/sys_select.in.h; \
        } > $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
@@ -34,7 +39,7 @@ Include:
 #include <sys/select.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Simon Josefsson