From c19e0cf151a0ddabce7e3a2a77181bab5a622156 Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Mon, 25 Dec 2006 18:38:10 +0000 Subject: [PATCH] MacOSX installed libtoolize as glibtoolize. Handle that in autogen git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15255 57a11ea4-9604-0410-9ed3-97b8803252fd --- autogen.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/autogen.sh b/autogen.sh index 9b4d9098b6..bb11982f8c 100755 --- a/autogen.sh +++ b/autogen.sh @@ -135,12 +135,17 @@ ACLOCAL="$program" DIE=1 } +# On MacOS, libtoolize is installed as glibtoolize, so handle that here. (${LIBTOOLIZE} --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have \`libtoolize' installed to compile GnuCash." - echo "Download the appropriate package for your distribution," - echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" - DIE=1 + LIBTOOLIZE=glibtoolize + (${LIBTOOLIZE} --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`libtoolize' installed to compile GnuCash." + echo "Could not find either \`libtoolize' or \'glibtoolize'." + echo "Download the appropriate package for your distribution," + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + DIE=1 + } } (${AUTOMAKE} --version) < /dev/null > /dev/null 2>&1 || {