Browse Source

On Mac OS X, we should look for glibtool, not for libtool

Cédric Augonnet 14 years ago
parent
commit
d49977bfb2
1 changed files with 5 additions and 1 deletions
  1. 5 1
      autogen.sh

+ 5 - 1
autogen.sh

@@ -18,8 +18,12 @@
 
 
 if ! libtool --version > /dev/null
 if ! libtool --version > /dev/null
 then
 then
-	echo "Libtool is missing, please install it."
+	# Perhaps we are on a Mac
+	if ! glibtool --version > /dev/null
+	then
+	echo "GNU Libtool is missing, please install it."
 	exit 1
 	exit 1
+	fi
 fi
 fi
 autoreconf -ivf -I m4
 autoreconf -ivf -I m4