From cf956ff56b88df7d8a8ecb8d4496f2ee650a6f4f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 20 Feb 2021 03:07:57 -0500 Subject: bootstrap: fix config.h.cmake generation (#622) The generated header file was manually changed, but rerunning this script will change it back. Fix the script to use the new format. --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index 9dda8cf..2eca5cf 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -21,7 +21,7 @@ fi echo "/* Generated from config.hin via autoheader for cmake; see bootstrap.sh. */" sed -E \ -e '1d' \ - -e '/ENABLE_/{s:#undef:#define:;s:([^ ]*)$:\1 @\1@:;}' \ + -e '/ENABLE_/{s:#undef:#cmakedefine01:}' \ -e 's:#undef:#cmakedefine:' \ src/config.hin ) > src/config.h.cmake -- cgit v1.2.1