Update of /cvsroot/cppunit/cppunit
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3083
Modified Files:
ChangeLog cppunit.m4 NEWS
Log Message:
* cppunit.m4: applied patch #1076398 contributed by Henner Sudek. Fix
version number comparison in AM_PATH_CPPUNIT.
Index: cppunit.m4
===================================================================
RCS file: /cvsroot/cppunit/cppunit/cppunit.m4,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** cppunit.m4 19 Jun 2004 11:33:42 -0000 1.3
--- cppunit.m4 14 Jun 2005 21:44:00 -0000 1.4
***************
*** 2,6 ****
dnl AM_PATH_CPPUNIT(MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl
! AC_DEFUN(AM_PATH_CPPUNIT,
[
--- 2,6 ----
dnl AM_PATH_CPPUNIT(MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl
! AC_DEFUN([AM_PATH_CPPUNIT],
[
***************
*** 45,52 ****
--- 45,63 ----
cppunit_major_min=`echo $cppunit_version_min | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
+ if test "x${cppunit_major_min}" = "x" ; then
+ cppunit_major_min=0
+ fi
+
cppunit_minor_min=`echo $cppunit_version_min | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+ if test "x${cppunit_minor_min}" = "x" ; then
+ cppunit_minor_min=0
+ fi
+
cppunit_micro_min=`echo $cppunit_version_min | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+ if test "x${cppunit_micro_min}" = "x" ; then
+ cppunit_micro_min=0
+ fi
cppunit_version_proper=`expr \
Index: NEWS
===================================================================
RCS file: /cvsroot/cppunit/cppunit/NEWS,v
retrieving revision 1.88
retrieving revision 1.89
diff -C2 -d -r1.88 -r1.89
*** NEWS 14 Jun 2005 21:32:05 -0000 1.88
--- NEWS 14 Jun 2005 21:44:00 -0000 1.89
***************
*** 58,61 ****
--- 58,69 ----
patch #1194394 contributed by Stéphane Fillod.
+ - autotool: applied patch #1076398 contributed by Henner Sudek. Quote:
+ "This patch allows AM_PATH_CPPUNIT to accept version
+ numbers without minor and micro version.
+ Now you can do:
+ AM_PATH_CPPUNIT(1.9)
+ instead of
+ AM_PATH_CPPUNIT(1.9.0)"
+
* Bug Fix:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/cppunit/cppunit/ChangeLog,v
retrieving revision 1.227
retrieving revision 1.228
diff -C2 -d -r1.227 -r1.228
*** ChangeLog 14 Jun 2005 21:32:04 -0000 1.227
--- ChangeLog 14 Jun 2005 21:44:00 -0000 1.228
***************
*** 7,10 ****
--- 7,13 ----
libtool. patch #1194394 contributed by Stéphane Fillod.
+ * cppunit.m4: applied patch #1076398 contributed by Henner Sudek. Fix
+ version number comparison in AM_PATH_CPPUNIT.
+
2005-02-23 Baptiste Lepilleur <gai...@fr...>
|