From 323802c722b03bbdb7c89c95b0d83b29892da89d Mon Sep 17 00:00:00 2001
From: Vittorio Giovara <vittorio.giovara@gmail.com>
Date: Thu, 26 Jun 2014 19:36:18 -0400
Subject: [PATCH] autogen: try for the homebrew libtool version too

Refs: #46762
---
 daemon/autogen.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/daemon/autogen.sh b/daemon/autogen.sh
index eabb0e0edc..5ff82d15c7 100755
--- a/daemon/autogen.sh
+++ b/daemon/autogen.sh
@@ -15,8 +15,11 @@ fi
 
 LIBTOOLIZE=`which libtoolize || which glibtoolize`
 if test -z $LIBTOOLIZE; then
+    LIBTOOLIZE=`which glibtoolize`
+    if test -z $LIBTOOLIZE; then
         echo "*** No libtool found, please install it ***"
         exit 1
+    fi
 fi
 
 # Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565663
-- 
GitLab