From 971d12ce529bc28118c839b5bf2a55c4c5b75062 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 3 Mar 2014 00:20:20 +0100 Subject: [PATCH] build: on OSX, use glibtoolize by default --- autogen.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 85f2cef1..75a67ff1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -8,7 +8,14 @@ set -e git submodule update } -LIBTOOLIZE=${LIBTOOLIZE:-libtoolize} +case "$(uname)" in + Darwin) + LIBTOOLIZE=${LIBTOOLIZE:-glibtoolize} + ;; + *) + LIBTOOLIZE=${LIBTOOLIZE:-libtoolize} + ;; +esac AUTORECONF=${AUTORECONF:-autoreconf} ACLOCAL=${ACLOCAL:-aclocal} AUTOCONF=${AUTOCONF:-autoconf} -- 2.39.5