slomo common: common/ common/m4/

[email protected] Sun, 14 Dec 2008 23:06:40 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         common
Changes by:     slomo
Date:           Mon Dec 15 2008  07:06:40 UTC

Log message:
Patch by: Roland Illig <roland dot illig at gmx dot de>
* m4/gst-parser.m4:
Fix AG_GST_BISON_CHECK to handle version numbers with more than
two components (i.e. 2.4.1). Fixes bug #564507.

Modified files:
    .               : ChangeLog
    m4              : gst-parser.m4

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/common/ChangeLog.diff?r1=1.266&r2=1.267
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/common/m4/gst-parser.m4.diff?r1=1.12&r2=1.13

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/common/ChangeLog,v
retrieving revision 1.266
retrieving revision 1.267
diff -u -d -r1.266 -r1.267
--- ChangeLog	14 Dec 2008 08:54:37 -0000	1.266
+++ ChangeLog	15 Dec 2008 07:06:25 -0000	1.267
@@ -1,3 +1,11 @@
+2008-12-15  Sebastian Dröge  <[email protected]>
+
+	Patch by: Roland Illig <roland dot illig at gmx dot de>
+	* m4/gst-parser.m4:
+	Fix AG_GST_BISON_CHECK to handle version numbers with more than
+	two components (i.e. 2.4.1). Fixes bug #564507.
 2008-12-14  Edward Hervey  <[email protected]>
 
 	* gst.supp:
Index: gst-parser.m4
RCS file: /cvs/gstreamer/common/m4/gst-parser.m4,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- gst-parser.m4	20 Jul 2008 19:55:14 -0000	1.12
+++ gst-parser.m4	15 Dec 2008 07:06:26 -0000	1.13
@@ -15,10 +15,7 @@
   bison_version=`$BISON_PATH --version | head -n 1 |  sed 's/^[[^0-9]]*//' | sed 's/[[^0-9]]*$//' | cut -d' ' -f1`
   AC_MSG_CHECKING([bison version $bison_version >= $bison_min_version])
-  if perl -w <<EOF
-    exit ($bison_version < $bison_min_version) ? 0 : 1;
-EOF 
-  then 
+  if perl -we "exit ((v$bison_version ge v$bison_min_version) ? 0 : 1)"; then 
     AC_MSG_RESULT([yes])
   else 
     AC_MSG_ERROR([no])

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/

_______________________________________________
gstreamer-cvs-verbose mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose