Explorar o código

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

Cédric Augonnet %!s(int64=15) %!d(string=hai) anos
pai
achega
d49977bfb2
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      autogen.sh

+ 5 - 1
autogen.sh

@@ -18,8 +18,12 @@
 
 if ! libtool --version > /dev/null
 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
+	fi
 fi
 autoreconf -ivf -I m4