X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fsys_select;h=27d9a48cb458901fa28575d8e4ab40ed83464f42;hb=fbe6ced5d2fdadeeea4194725d05a52cf3b5ebd7;hp=7ddcf88668e8a5d672ab621ee2d7e4392660822a;hpb=d1a73882fc992d3184bec3a4ccd57b52d95a7458;p=gnulib.git diff --git a/modules/sys_select b/modules/sys_select index 7ddcf8866..27d9a48cb 100644 --- a/modules/sys_select +++ b/modules/sys_select @@ -7,9 +7,9 @@ m4/sys_select_h.m4 Depends-on: include_next -link-warning sys_socket sys_time +warn-on-use configure.ac: gl_HEADER_SYS_SELECT @@ -20,7 +20,7 @@ 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.in.h $(LINK_WARNING_H) +sys/select.h: sys_select.in.h $(WARN_ON_USE_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ @@ -31,7 +31,7 @@ sys/select.h: sys_select.in.h $(LINK_WARNING_H) -e 's|@''GNULIB_SELECT''@|$(GNULIB_SELECT)|g' \ -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \ - -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/sys_select.in.h; \ } > $@-t && \ mv $@-t $@