From: Vincent Bernat Date: Sun, 2 Mar 2014 23:20:20 +0000 (+0100) Subject: build: on OSX, use glibtoolize by default X-Git-Tag: 0.7.8~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=971d12ce529bc28118c839b5bf2a55c4c5b75062;p=thirdparty%2Flldpd.git build: on OSX, use glibtoolize by default --- 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}