summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 45279ff..ffd978c 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -18,8 +18,10 @@ if ! v autoreconf -f -i ; then
exit 1
fi
+(
+echo "/* Generated from config.hin via autoheader for cmake; see bootstrap.sh. */"
sed \
-e '1d' \
- -e '2i/* Generated from config.hin via autoheader for cmake; see bootstraps.h. */' \
-e 's:#undef:#cmakedefine:' \
- src/config.hin > src/config.h.cmake
+ src/config.hin
+) > src/config.h.cmake