ソースを参照

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