瀏覽代碼

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

Cédric Augonnet 14 年之前
父節點
當前提交
d49977bfb2
共有 1 個文件被更改,包括 5 次插入1 次删除
  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