Great! Sorry for not testing your patch. You are absolutely right that it
also solves my problems. I definitely wote for inclusion of this patch.
/Mats
Michael Welsh Duggan wrote:
Mats Bengtsson <[EMAIL PROTECTED]> writes:
See also
http://lists.gnu.org/archive/html/bug-lilypond/2006-06/msg00141.html
for another problem with the current solution (which unfortunately isn't
solved by Michael's patch).
Actually, my tests seem to show it is solved by the patch. The grep
-v will remove the mistaken path-based line. (Tested by copying
python2.4 to /tmp/2.4.2/python2.4 and running the eval line using that
path.)
Index: stepmake/aclocal.m4
===================================================================
RCS file: /cvsroot/lilypond/lilypond/stepmake/aclocal.m4,v
retrieving revision 1.175
diff -u -p -r1.175 aclocal.m4
--- stepmake/aclocal.m4 1 Jun 2006 00:44:11 -0000 1.175
+++ stepmake/aclocal.m4 7 Aug 2006 08:25:17 -0000
@@ -32,7 +32,8 @@ AC_DEFUN(STEPMAKE_GET_VERSION, [
## for compatibility reasons.
## grab the first version number in --version output.
- eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\.[0-9]' \
+ eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep -v "$1" \
+ | grep '[0-9]\.[0-9]' \
| head -n 1 \
| tr ' ' '\n' | grep '[0-9]\.[0-9]' | head -n 1 | sed
's/\([0-9.]*\).*/\1/g'\`\"
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond