diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-09-11 13:39:06 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-09-11 13:39:06 -0300 |
commit | 0c2ccde3060827528e2ad89159b9d737228df85d (patch) | |
tree | 2a4dbc81d35e3f1b378b63fc9001d8727257c9d6 /autogen.sh | |
parent | a859e9204cd348f0ef7633f427e47d0a45451b91 (diff) |
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.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 - |