summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-07-12 09:17:37 +0000
committerkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-07-12 09:17:37 +0000
commit59be69a5b93b96b2e99e3422042cd2c8690d8bc3 (patch)
treed0a66447e9f7f35f37ca5917c5ee81013a0b2789 /autogen.sh
parent499bee7aac62068415b7630df1bae235ef748021 (diff)
downloadnavit-59be69a5b93b96b2e99e3422042cd2c8690d8bc3.tar.gz
Applied patch from dctucker for use with Darwin
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2392 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index ba84850ab..bd5565009 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,11 @@
#!/bin/sh
-for pkg in pkg-config libtool automake aclocal autoreconf:autoconf autopoint:gettext
+if [ `uname` == Darwin ]; then
+ LIBTOOL=glibtool
+else
+ LIBTOOL=libtool
+fi
+
+for pkg in pkg-config $LIBTOOL automake aclocal autoreconf:autoconf autopoint:gettext
do
if ! ${pkg%%:*} --version >/dev/null
then