Detect when libtoolize is called glibtoolize.

It's the case on Darwin, and might be in other BSDs as well.
As referred in #268.
Supersedes PR #269.
This commit is contained in:
Hisham Muhammad 2015-09-11 13:39:06 -03:00
parent a859e9204c
commit 0c2ccde306

View File

@ -1,9 +1,13 @@
#!/bin/sh
if glibtoolize --version &> /dev/null
then libtoolize=glibtoolize
else libtoolize=libtoolize
fi
aclocal -I m4
autoconf
autoheader
libtoolize --copy --force
$libtoolize --copy --force
automake --add-missing --copy