diff options
author | Fabiano Fidencio <fabiano@fidencio.org> | 2011-06-20 15:08:21 +0000 |
---|---|---|
committer | Fabiano Fidencio <fabiano@fidencio.org> | 2011-06-20 15:08:21 +0000 |
commit | b932f330bf183d5897ed51e3976a22f92339f06b (patch) | |
tree | 75126959d1deedf778ba870a8221d6a33ea36fc6 | |
parent | c04611f122f6e1674097c38f39871c2f7a59d774 (diff) | |
download | enchant-b932f330bf183d5897ed51e3976a22f92339f06b.tar.gz |
Adding support for glibtoolize, in autogen.sh
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29859 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rwxr-xr-x | autogen.sh | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -28,7 +28,16 @@ if test ! -d `aclocal --print-ac-dir 2>> autogen.err`; then exit 1 fi -libtoolize --force --copy || { +libtoolize="" +for found_lib in libtoolize glibtoolize ; do + $found_lib --version > /dev/null 2>&1 + if [ $? = 0 ]; then + libtoolize=$found_lib + break + fi +done + +$libtoolize --force --copy || { echo "error: libtoolize failed" exit 1 } |