Update:Translation:Updated heading fields
[navit-package] / autogen.sh
index 9b6a089..e1a5447 100755 (executable)
@@ -1,5 +1,11 @@
 #!/bin/sh
-for pkg in pkg-config libtool automake aclocal autoreconf 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
@@ -8,4 +14,4 @@ do
        fi
 done
 
-autoreconf --force --install -I m4
+autoreconf --install -I m4