summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-10-02 00:34:23 +0200
committerBruno Haible <bruno@clisp.org>2007-10-02 00:34:23 +0200
commit03f70203768aa8ec39a0a60636174dc02683c82c (patch)
tree147e9da2b7a562da8cdfced2cb3a5b2a2f6d5689
parent3e74d28383461f4b548aab64e3dde565499dee38 (diff)
downloadgnulib-03f70203768aa8ec39a0a60636174dc02683c82c.tar.gz
Rename sys_select_.h to sys_select.in.h.
-rw-r--r--ChangeLog3
-rw-r--r--lib/sys_select.in.h (renamed from lib/sys_select_.h)0
-rw-r--r--modules/sys_select6
3 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d85d97c944..5dc8183cfb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -63,6 +63,9 @@
* modules/string (Files, Makefile.am): Use string.in.h instead of
string_.h.
* doc/gnulib-tool.texi (Initial import): Update.
+ * lib/sys_select.in.h: Renamed from lib/sys_select_.h.
+ * modules/sys_select (Files, Makefile.am): Use sys_select.in.h instead
+ of sys_select_.h. Add dependency.
2007-09-30 Bruno Haible <bruno@clisp.org>
diff --git a/lib/sys_select_.h b/lib/sys_select.in.h
index 0567202622..0567202622 100644
--- a/lib/sys_select_.h
+++ b/lib/sys_select.in.h
diff --git a/modules/sys_select b/modules/sys_select
index 3fdd0acfa7..67fa2d1619 100644
--- a/modules/sys_select
+++ b/modules/sys_select
@@ -2,7 +2,7 @@ Description:
A <sys/select.h> for systems lacking it.
Files:
-lib/sys_select_.h
+lib/sys_select.in.h
m4/sys_select_h.m4
Depends-on:
@@ -18,14 +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.
-sys/select.h:
+sys/select.h: sys_select.in.h
@MKDIR_P@ sys
rm -f $@-t $@
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
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_.h; \
+ < $(srcdir)/sys_select.in.h; \
} > $@-t
mv $@-t $@
MOSTLYCLEANFILES += sys/select.h sys/select.h-t