mirror of
https://github.com/ctm/syn68k.git
synced 2025-08-15 05:27:21 +00:00
Make autogen.sh work on Darwin/OS X by checking for glibtool/glibtoolize first.
The libtool binary that OS X uses is actually not the same version that other unices use. The version that other unices use is named glibtool on OS X. It seems that syn68k uses arguments that aren't available on OS X's/Darwin's libtool.
This commit is contained in:
@@ -4,7 +4,14 @@
|
||||
|
||||
set -o errexit -o nounset -o noclobber
|
||||
|
||||
libtoolize
|
||||
test -z "$LIBTOOL" && for LIBTOOL in glibtool libtool; do
|
||||
($LIBTOOL --version) < /dev/null > /dev/null 2>&1 && break
|
||||
done
|
||||
test -z "$LIBTOOLIZE" && for LIBTOOLIZE in glibtoolize libtoolize; do
|
||||
($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 && break
|
||||
done
|
||||
|
||||
$LIBTOOLIZE
|
||||
aclocal
|
||||
autoheader
|
||||
automake --add-missing
|
||||
|
Reference in New Issue
Block a user