From 240d5f0a4aaa6780b13ce80cd3a3c5850bceed43 Mon Sep 17 00:00:00 2001 From: TLINDEN Date: Sun, 10 Jul 2016 20:50:14 +0200 Subject: [PATCH] fix #16: look for glibtoolize on macosx --- autogen.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index f16cc0e..1d8a318 100755 --- a/autogen.sh +++ b/autogen.sh @@ -72,9 +72,12 @@ fi if test "$mode" = "config"; then mkdir -p ./config + + lt=libtoolize + case `uname` in Darwin*) lt=glibtoolize;; esac - if ! command -v libtoolize >/dev/null 2>&1; then - echo "could not find libtool." 1>&2 + if ! command -v $lt >/dev/null 2>&1 ; then + echo "could not find $lt." 1>&2 exit 1 fi