projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix regex compilation error on HP-UX 11.
[gnulib.git]
/
modules
/
sys_select
diff --git
a/modules/sys_select
b/modules/sys_select
index
3319c3c
..
67fa2d1
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.in.h
m4/sys_select_h.m4
Depends-on:
m4/sys_select_h.m4
Depends-on:
+include_next
sys_socket
configure.ac:
sys_socket
configure.ac:
@@
-16,11
+18,14
@@
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.
# 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
+sys/select.h:
sys_select.in.h
+
@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/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/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.in.h; \
} > $@-t
mv $@-t $@
MOSTLYCLEANFILES += sys/select.h sys/select.h-t
} > $@-t
mv $@-t $@
MOSTLYCLEANFILES += sys/select.h sys/select.h-t
@@
-30,7
+35,7
@@
Include:
#include <sys/select.h>
License:
#include <sys/select.h>
License:
-LGPL
+LGPL
v2+
Maintainer:
Simon Josefsson
Maintainer:
Simon Josefsson