mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 08:41:55 +00:00
25 lines
462 B
Bash
25 lines
462 B
Bash
#! /bin/sh
|
|
#
|
|
# Copyright (c), Recep Aslantas.
|
|
#
|
|
# MIT License (MIT), http://opensource.org/licenses/MIT
|
|
# Full license can be found in the LICENSE file
|
|
#
|
|
|
|
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
|
|
libtoolize
|
|
aclocal -I m4
|
|
autoconf
|
|
automake --add-missing --copy
|