Changeset: a7a0e0845e56 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a7a0e0845e56
Modified Files:
buildtools/conf/Mbootstrap.in
Branch: Feb2010
Log Message:
fixing bug 2559 "libtool-2.2.10 is not called ltmain.sh anymore"
Apparently, (at least) as of libtool 2.2.10, libtool calls itself
no longer "ltmain.sh" but "libtool" in its own `--version` output;
hence, we need to adapt our version analysis in Mbootstrap.in .
Thanks go to Stefan de Konink for reporting the problem and
providing a patch.
diffs (12 lines):
diff -r c960545debf4 -r a7a0e0845e56 buildtools/conf/Mbootstrap.in
--- a/buildtools/conf/Mbootstrap.in Mon Jun 28 12:49:50 2010 +0200
+++ b/buildtools/conf/Mbootstrap.in Tue Jul 06 07:29:54 2010 +0200
@@ -111,7 +111,7 @@
echo "Please get it at eg. http://www.gnu.org/software/libtool/." >&2
exit 1
fi
-LT_VERSION=`$LIBTOOL --version 2>/dev/null | sed -n
'/^ltmain\.sh/{s/([^)]*)//g;s/ltmain.sh//g;s/ //g;p;q;}'`
+LT_VERSION=`$LIBTOOL --version 2>/dev/null | sed -n
'/^\(ltmain\.sh\|libtool\)/{s/([^)]*)//g;s/\(ltmain\.sh\|libtool\)//g;s/
//g;p;q;}'`
_LT_VERSION=`echo $LT_VERSION | awk 'BEGIN { FS = "."; } { printf "%d", ($1 *
1000 + $2) * 1000 + $3;}'`
_REQ_LT_VERSION=`echo $REQ_LT_VERSION | awk 'BEGIN { FS = "."; } { printf
"%d", ($1 * 1000 + $2) * 1000 + $3;}'`
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list