diff options
author | Jerry Zhang <zhangjerry@google.com> | 2017-06-13 15:27:28 -0700 |
---|---|---|
committer | Jerry Zhang <zhangjerry@google.com> | 2017-06-15 11:49:01 -0700 |
commit | c58b24651a56989fdf39b42202c77e72749e8bab (patch) | |
tree | 44b791cc2f19706738d8a2948ee3c1647875660a | |
parent | 60d0226d791d6a80e716c4c8ac29aa41315cf308 (diff) | |
download | libmtp-c58b24651a56989fdf39b42202c77e72749e8bab.tar.gz |
Look for glibtoolize if libtoolize is not found.
libtoolize is sometimes installed as glibtoolize on Darwin.
-rwxr-xr-x | autogen.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -16,7 +16,8 @@ fail() { echo "Removing libtool cruft" rm -f ltmain.sh config.guess config.sub echo "Running libtoolize" -libtoolize --copy --force || fail +(glibtoolize --version) < /dev/null > /dev/null 2>&1 && LIBTOOLIZE=glibtoolize || LIBTOOLIZE=libtoolize +$LIBTOOLIZE --copy --force || fail # Refresh GNU autotools toolchain: aclocal autoheader echo "Removing aclocal cruft" |