mirror of https://github.com/xzeldon/htop.git
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:
parent
a859e9204c
commit
0c2ccde306
|
@ -1,9 +1,13 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
if glibtoolize --version &> /dev/null
|
||||||
|
then libtoolize=glibtoolize
|
||||||
|
else libtoolize=libtoolize
|
||||||
|
fi
|
||||||
|
|
||||||
aclocal -I m4
|
aclocal -I m4
|
||||||
autoconf
|
autoconf
|
||||||
autoheader
|
autoheader
|
||||||
libtoolize --copy --force
|
$libtoolize --copy --force
|
||||||
automake --add-missing --copy
|
automake --add-missing --copy
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue