X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fsys_select;h=f2f769890c80bbb8615d17900d728fb6bd47e843;hb=e9b9f38495328915756f7a10c5ee08988908fed8;hp=f182f2658f1f26668f32d2c288449c2153449761;hpb=9381eb9b569d31922a40b825c2d19db7dfef906b;p=gnulib.git diff --git a/modules/sys_select b/modules/sys_select index f182f2658..f2f769890 100644 --- a/modules/sys_select +++ b/modules/sys_select @@ -2,11 +2,13 @@ Description: A 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 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 License: -LGPL +LGPLv2+ Maintainer: Simon Josefsson