bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python 2.4 detection


From: Michael Welsh Duggan
Subject: Re: Python 2.4 detection
Date: Wed, 09 Aug 2006 00:31:54 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

I take it back, the new patch isn't quite right.  Here is an updated
patch that will correctly determine the version numbers from GNU gs
and pkg-config.

Index: stepmake/aclocal.m4
===================================================================
RCS file: /cvsroot/lilypond/lilypond/stepmake/aclocal.m4,v
retrieving revision 1.176
diff -u -p -r1.176 aclocal.m4
--- stepmake/aclocal.m4 8 Aug 2006 21:42:26 -0000       1.176
+++ stepmake/aclocal.m4 9 Aug 2006 04:31:38 -0000
@@ -32,7 +32,7 @@ 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]*\.[0-9]' \
+    eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep '\(^\| 
\)[0-9][0-9]*\.[0-9]' \
         | head -n 1 \
        | tr ' ' '\n' | grep '[0-9]\.[0-9]' | head -n 1 | sed 
's/\([0-9.]*\).*/\1/g'\`\"
 


-- 
Michael Welsh Duggan
(address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]