diff options
author | Nathanael Jones <nathanael.jones@gmail.com> | 2014-10-02 12:34:50 -0400 |
---|---|---|
committer | Nathanael Jones <nathanael.jones@gmail.com> | 2014-10-02 12:34:50 -0400 |
commit | 7f1d18331856dc9e175ddb51209f63c93cbb7c47 (patch) | |
tree | 9d4046a2cee35d8fbe3516cd812bac93945040e3 /bootstrap.sh | |
parent | 7f735f64589f6bf077d99e2ff452a3f1e635fa68 (diff) | |
download | libgd-7f1d18331856dc9e175ddb51209f63c93cbb7c47.tar.gz |
bootstrap.sh now offers build tips on OS X and defaults to glibtoolize
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 4 |
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} |