Skip to content

Commit 22b6991

Browse files
committed
build: improve calling libtoolize
1 parent 016c0a7 commit 22b6991

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

autogen.sh

+5-8
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,14 @@
88

99
cd $(dirname "$0")
1010

11-
if [ "$(uname)" = "Darwin" ]; then
12-
libtoolBin=$(which glibtoolize)
13-
libtoolBinDir=$(dirname "${libtoolBin}")
11+
autoheader
1412

15-
if [ ! -f "${libtoolBinDir}/libtoolize" ]; then
16-
ln -s $libtoolBin "${libtoolBinDir}/libtoolize"
17-
fi
13+
if [ "$(uname)" = "Darwin" ]; then
14+
glibtoolize
15+
else
16+
libtoolize
1817
fi
1918

20-
autoheader
21-
libtoolize
2219
aclocal -I m4
2320
autoconf
2421
automake --add-missing --copy

0 commit comments

Comments
 (0)