Use glibtoolize on Mac OSX
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
748d700263
commit
9c09209fed
1 changed files with 9 additions and 1 deletions
|
|
@ -10,6 +10,14 @@ set -x
|
||||||
test -d Tools/config || mkdir Tools/config
|
test -d Tools/config || mkdir Tools/config
|
||||||
aclocal -I Tools/config
|
aclocal -I Tools/config
|
||||||
autoheader
|
autoheader
|
||||||
libtoolize --force --copy
|
|
||||||
|
# Note: on Mac OS X there is a different program 'libtoolize' that is definitely not
|
||||||
|
# what we want to run. Instead, we want to use 'glibtoolize'
|
||||||
|
|
||||||
|
if test -x /usr/bin/glibtoolize; then
|
||||||
|
glibtoolize --force --copy
|
||||||
|
else
|
||||||
|
libtoolize --force --copy
|
||||||
|
fi
|
||||||
automake --add-missing --copy --force-missing
|
automake --add-missing --copy --force-missing
|
||||||
autoconf
|
autoconf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue