mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
build: improve calling libtoolize
This commit is contained in:
15
autogen.sh
15
autogen.sh
@@ -8,17 +8,14 @@
|
|||||||
|
|
||||||
cd $(dirname "$0")
|
cd $(dirname "$0")
|
||||||
|
|
||||||
if [ "$(uname)" = "Darwin" ]; then
|
|
||||||
libtoolBin=$(which glibtoolize)
|
|
||||||
libtoolBinDir=$(dirname "${libtoolBin}")
|
|
||||||
|
|
||||||
if [ ! -f "${libtoolBinDir}/libtoolize" ]; then
|
|
||||||
ln -s $libtoolBin "${libtoolBinDir}/libtoolize"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
autoheader
|
autoheader
|
||||||
|
|
||||||
|
if [ "$(uname)" = "Darwin" ]; then
|
||||||
|
glibtoolize
|
||||||
|
else
|
||||||
libtoolize
|
libtoolize
|
||||||
|
fi
|
||||||
|
|
||||||
aclocal -I m4
|
aclocal -I m4
|
||||||
autoconf
|
autoconf
|
||||||
automake --add-missing --copy
|
automake --add-missing --copy
|
||||||
|
|||||||
Reference in New Issue
Block a user