Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.15.203.195
#!/bin/sh --
# $Id$
# Small shell script to build gd from source
v() { echo "$@"; "$@"; }
# Generate the manual (unless naturaldocs isn't installed). Source
# dists should include the docs so that end users don't need to
# install naturaldocs. At the same time, we tolerate it being missing
# so that random hackers don't need it just to build the code.
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"
fi
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 's:#undef:#cmakedefine:' \
src/config.hin
) > src/config.h.cmake
|