summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorNathanael Jones <nathanael.jones@gmail.com>2014-10-02 12:34:50 -0400
committerNathanael Jones <nathanael.jones@gmail.com>2014-10-02 12:34:50 -0400
commit7f1d18331856dc9e175ddb51209f63c93cbb7c47 (patch)
tree9d4046a2cee35d8fbe3516cd812bac93945040e3 /bootstrap.sh
parent7f735f64589f6bf077d99e2ff452a3f1e635fa68 (diff)
downloadlibgd-7f1d18331856dc9e175ddb51209f63c93cbb7c47.tar.gz
bootstrap.sh now offers build tips on OS X and defaults to glibtoolize
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 35d4d4b..dac639e 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -16,6 +16,10 @@ fi
# allow importing from the environment, e.g.
# "AUTOCONF=autoconf259 ... ./bootstrap.sh"
+if echo $OSTYPE | grep -q '^darwin' ; then
+ echo Having trouble on OS X? Try brew install autoconf libtool automake gettext apple-gcc42 pkg-config cmake
+ LIBTOOLIZE=${LIBTOOLIZE:-glibtoolize}
+fi
ACLOCAL=${ACLOCAL:-aclocal}
AUTOCONF=${AUTOCONF:-autoconf}
AUTOHEADER=${AUTOHEADER:-autoheader}