summaryrefslogtreecommitdiff
path: root/Build/source/libs/gd/libgd-src/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/gd/libgd-src/bootstrap.sh')
-rwxr-xr-xBuild/source/libs/gd/libgd-src/bootstrap.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/libs/gd/libgd-src/bootstrap.sh b/Build/source/libs/gd/libgd-src/bootstrap.sh
index ffd978c82ef..fe7dd0fd35b 100755
--- a/Build/source/libs/gd/libgd-src/bootstrap.sh
+++ b/Build/source/libs/gd/libgd-src/bootstrap.sh
@@ -1,5 +1,4 @@
#!/bin/sh --
-# $Id$
# Small shell script to build gd from source
v() { echo "$@"; "$@"; }
@@ -11,7 +10,7 @@ v() { echo "$@"; "$@"; }
v docs/naturaldocs/run_docs.sh --nonfatal
if echo "${OSTYPE:-$(uname)}" | grep -q '^darwin' ; then
- echo "Having trouble on OS X? Try: brew install autoconf libtool automake gettext apple-gcc42 pkg-config cmake"
+ echo "Having trouble on OS X? Try: brew install autoconf libtool automake gettext pkg-config cmake"
fi
if ! v autoreconf -f -i ; then
@@ -20,8 +19,9 @@ fi
(
echo "/* Generated from config.hin via autoheader for cmake; see bootstrap.sh. */"
-sed \
+sed -E \
-e '1d' \
+ -e '/ENABLE_/{s:#undef:#define:;s:([^ ]*)$:\1 @\1@:;}' \
-e 's:#undef:#cmakedefine:' \
src/config.hin
) > src/config.h.cmake