X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fsys_select;h=68f79185bd76f4d3f4ed2d9b9deccae486417203;hb=060ad6de5ed9d89902ebe99c2c39c982dcedc5b9;hp=3319c3cd8a2f65d1ed982dc380dc74906eb028b9;hpb=aeb8c436374844c89da703fa45374f4c653ed3bd;p=gnulib.git diff --git a/modules/sys_select b/modules/sys_select index 3319c3cd8..68f79185b 100644 --- a/modules/sys_select +++ b/modules/sys_select @@ -1,10 +1,12 @@ Description: -A for systems lacking it (e.g., Mingw). +A for systems lacking it. Files: +lib/sys_select_.h m4/sys_select_h.m4 Depends-on: +absolute-header sys_socket configure.ac: @@ -17,10 +19,13 @@ 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: - $(MKDIR_P) sys + @MKDIR_P@ sys rm -f $@-t $@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ - echo '#include '; \ + sed -e 's|@''ABSOLUTE_SYS_SELECT_H''@|$(ABSOLUTE_SYS_SELECT_H)|g' \ + -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \ + -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \ + < $(srcdir)/sys_select_.h; \ } > $@-t mv $@-t $@ MOSTLYCLEANFILES += sys/select.h sys/select.h-t