--- autogen.sh.orig	2015-04-28 00:56:06.000000000 -0700
+++ autogen.sh	2015-04-28 00:56:46.000000000 -0700
@@ -48,7 +48,7 @@
 }
 
 (grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && {
-  (${LIBTOOL:-libtool} --version) < /dev/null > /dev/null 2>&1 || {
+  (${LIBTOOL:-glibtool} --version) < /dev/null > /dev/null 2>&1 || {
     echo
     echo "**Error**: You must have \`libtool' installed."
     echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"
@@ -136,7 +136,7 @@
       if grep "^A[CM]_PROG_LIBTOOL" configure.ac >/dev/null; then
         if test -z "$NO_LIBTOOLIZE" ; then 
           echo "Running libtoolize..."
-          ${LIBTOOLIZE:-libtoolize} --force --copy
+          ${LIBTOOLIZE:-glibtoolize} --force --copy
         fi
       fi
       echo "Running aclocal $aclocalinclude ..."
