changeset 4366:4f2163710712

Rename stdbool.h.in to stdbool_.h, for DOS and VMS's sake.
author Bruno Haible <bruno@clisp.org>
date Fri, 06 Jun 2003 20:59:34 +0000
parents a169895d3bfd
children 14fb4216a9b3
files ChangeLog lib/ChangeLog modules/stdbool
diffstat 3 files changed, 20 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-06-06  Jim Meyering  <jim@meyering.net>
+            Bruno Haible  <bruno@clisp.org>
+
+        * modules/stdbool: Reflect renaming: stdbool.h.in -> stdbool_.h.
+        Adjust Makefile.am snippet not to redirect directly to target.
+        Use $(STDBOOL_H) notation, not @STDBOOL_H@ for AC_REPLACE'd variables.
+
 2003-05-30  Bruno Haible  <bruno@clisp.org>
 
 	* modules/gettext: Add files m4/nls.m4 and m4/po.m4.
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-06  Jim Meyering  <jim@meyering.net>
+
+	* stdbool_.h: Renamed from stdbool.h.in.
+
 2003-06-06  Jim Meyering  <jim@meyering.net>
 
 	Merge from coreutils.
@@ -126,10 +130,6 @@
 	posixtime failures better.
 	Improve the test data (in comments only).
 
-2003-06-02  Jim Meyering  <jim@meyering.net>
-
-	* stdbool.h.in: Rename to stdbool.hin.
-
 2003-05-30    <karl@gnu.org>
 
 	* mktime.c: update from libc.
@@ -1766,7 +1766,7 @@
 
 	* argmatch.c: Include "quote.h".
 	(argmatch_invalid): Remove explicit `' quotes.  Instead, use the
-	quote function.  Reported by Göran Uddeborg.
+	quote function.  Reported by Göran Uddeborg.
 
 2001-05-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
@@ -3153,7 +3153,7 @@
 
 2000-01-17  Jim Meyering  <meyering@lucent.com>
 
-	* interlock: Remove unused file.  Reported by François Pinard.
+	* interlock: Remove unused file.  Reported by François Pinard.
 
 2000-01-16  Paul Eggert  <eggert@twinsun.com>
 
--- a/modules/stdbool
+++ b/modules/stdbool
@@ -3,7 +3,7 @@
 (Nearly: casts to bool may not work.)
 
 Files:
-lib/stdbool.h.in
+lib/stdbool_.h
 m4/stdbool.m4
 
 Depends-on:
@@ -12,14 +12,15 @@
 AM_STDBOOL_H
 
 Makefile.am:
-EXTRA_DIST += stdbool.h.in
+EXTRA_DIST += stdbool_.h
 
 # The following is needed in order to create an <stdbool.h> when the system
 # doesn't have one that works.
-all-local $(lib_OBJECTS): @STDBOOL_H@
-stdbool.h: stdbool.h.in
-	sed -e 's/@''HAVE__BOOL''@/@HAVE__BOOL@/g' < $(srcdir)/stdbool.h.in > stdbool.h
-MOSTLYCLEANFILES += stdbool.h
+all-local $(lib_OBJECTS): $(STDBOOL_H)
+stdbool.h: stdbool_.h
+	sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > stdbool.h-t
+	mv stdbool.h-t stdbool.h
+MOSTLYCLEANFILES += stdbool.h stdbool.h-t
 
 Include:
 #include <stdbool.h>