diff options
author | Mike Frysinger <vapier@gentoo.org> | 2018-01-29 18:07:44 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gmail.com> | 2018-01-30 17:58:44 -0500 |
commit | 14b8020ddaa7a127781aee169899d10a9079ca85 (patch) | |
tree | 4e8d1529c1ec93705d4e9afeee07c27713bb0053 /bootstrap.sh | |
parent | 1daf261a831c5084bb78fb708d6d42a47f54df36 (diff) | |
download | libgd-14b8020ddaa7a127781aee169899d10a9079ca85.tar.gz |
make gd/gd2 image formats optional #428
We still enable them by default, but we'll probably flip them off
in the next major release series.
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index 4b49b61..bfdeffe 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -20,8 +20,9 @@ fi ( echo "/* Generated from config.hin via autoheader for cmake; see bootstrap.sh. */" -sed \ +sed -E \ -e '1d' \ + -e '/\bENABLE_/{s:#undef:#define:;s:([^ ]*)$:\1 @\1@:}' \ -e 's:#undef:#cmakedefine:' \ src/config.hin ) > src/config.h.cmake |