buildconf: MAC OS X requires libtool version 1.5.26 or newer
authorYang Tse <yangsita@gmail.com>
Thu, 11 Nov 2010 11:32:06 +0000 (12:32 +0100)
committerYang Tse <yangsita@gmail.com>
Thu, 11 Nov 2010 11:35:12 +0000 (12:35 +0100)
MAC OS X requires libtool version 1.5.26 or newer, otherwise
configure will mishandle *.dSYM directories when it runs.

buildconf

index 76e310e..1bb7697 100755 (executable)
--- a/buildconf
+++ b/buildconf
@@ -364,6 +364,12 @@ if test ! -f ./config.guess; then
 else
   buildhost=`./config.guess 2>/dev/null|head -n 1`
   case $buildhost in
+    *-*-darwin*)
+      need_lt_major=1
+      need_lt_minor=5
+      need_lt_patch=26
+      need_lt_check="yes"
+      ;;
     *-*-hpux*)
       need_lt_major=1
       need_lt_minor=5