projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
break iconv.m4 sync
[gnulib.git]
/
modules
/
sys_select
diff --git
a/modules/sys_select
b/modules/sys_select
index
3319c3c
..
f182f26
100644
(file)
--- a/
modules/sys_select
+++ b/
modules/sys_select
@@
-1,10
+1,12
@@
Description:
Description:
-A <sys/select.h> for systems lacking it
(e.g., Mingw)
.
+A <sys/select.h> for systems lacking it.
Files:
Files:
+lib/sys_select_.h
m4/sys_select_h.m4
Depends-on:
m4/sys_select_h.m4
Depends-on:
+absolute-header
sys_socket
configure.ac:
sys_socket
configure.ac:
@@
-17,10
+19,12
@@
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:
# 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:
-
$(MKDIR_P)
sys
+
@MKDIR_P@
sys
rm -f $@-t $@
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
rm -f $@-t $@
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
- echo '#include <sys/socket.h>'; \
+ sed -e 's|@''ABSOLUTE_SYS_SELECT_H''@|$(ABSOLUTE_SYS_SELECT_H)|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
} > $@-t
mv $@-t $@
MOSTLYCLEANFILES += sys/select.h sys/select.h-t