MacPorts installs libtoolize as glibtoolize. Autodetect this and DTRT.
(cherry picked from commit 082157bdb0
)
Signed-off-by: Bruce A. Mah <bmah@es.net>
This commit is contained in:
parent
492a91292a
commit
7b56b38dbc
15
bootstrap.sh
15
bootstrap.sh
@ -38,8 +38,21 @@ case "$1" in
|
||||
;;
|
||||
esac
|
||||
|
||||
if libtoolize --version >/dev/null 2>&1; then
|
||||
libtoolize=libtoolize
|
||||
elif glibtoolize --version >/dev/null 2>&1; then
|
||||
libtoolize=glibtoolize
|
||||
else
|
||||
libtoolize=""
|
||||
fi
|
||||
|
||||
if [ "x$libtoolize" = "x" ]; then
|
||||
echo "Can't find libtoolize, exiting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set -x
|
||||
libtoolize --copy --force --automake
|
||||
$libtoolize --copy --force --automake
|
||||
aclocal -I config
|
||||
autoheader
|
||||
automake --foreign --add-missing --copy
|
||||
|
Loading…
Reference in New Issue
Block a user