From: Paul Eggert Date: Wed, 14 Dec 2005 00:08:54 +0000 (+0000) Subject: (stdbool.h): Resurrect the 'sed' that goes along with '#if !@HAVE_BOOL@". X-Git-Tag: v6.0~1134 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6caba2509b98248f11844186ef05fc844226c83;p=thirdparty%2Fcoreutils.git (stdbool.h): Resurrect the 'sed' that goes along with '#if !@HAVE_BOOL@". --- diff --git a/lib/Makefile.am b/lib/Makefile.am index ab6fd1beae..a66a6c1d01 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -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)