(stdbool.h): Resurrect the 'sed' that goes along with '#if !@HAVE_BOOL@".
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Dec 2005 00:08:54 +0000 (00:08 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Dec 2005 00:08:54 +0000 (00:08 +0000)
lib/Makefile.am

index ab6fd1b..a66a6c1 100644 (file)
@@ -126,7 +126,7 @@ EXTRA_DIST += stdbool_.h
 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
 # Create stdbool.h on systems that lack a working one.
 stdbool.h: stdbool_.h
-       cp $(srcdir)/stdbool_.h $@-t
+       sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t
        mv $@-t $@
 
 BUILT_SOURCES += $(ALLOCA_H)