Fix autogen.sh for Mac OS X.
authorKen Raeburn <raeburn@raeburn.org>
Thu, 29 Oct 2009 17:06:35 +0000 (13:06 -0400)
committerKen Raeburn <raeburn@raeburn.org>
Fri, 30 Oct 2009 22:39:41 +0000 (18:39 -0400)
* autogen.sh: If uname indicates that the OS is Darwin, run "glibtool"
  instead of "libtool" for the version number check.

autogen.sh

index 8062d7e..78b6802 100755 (executable)
@@ -15,7 +15,11 @@ autoconf --version
 echo ""
 automake --version
 echo ""
-libtool --version
+if test "`uname -s`" = Darwin; then
+  glibtool --version
+else
+  libtool --version
+fi
 echo ""
 ${M4:-/usr/bin/m4} --version
 echo ""