2 A <sys/select.h> for systems lacking it.
17 BUILT_SOURCES += $(SYS_SELECT_H)
19 # We need the following in order to create <sys/select.h> when the system
20 # doesn't have one that works with the given compiler.
21 sys/select.h: sys_select.in.h
24 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
25 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
26 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
27 -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
28 -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
29 < $(srcdir)/sys_select.in.h; \
32 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
33 MOSTLYCLEANDIRS += sys
36 #include <sys/select.h>