Fix the regexp to process all 6 version numbers.
authorLaszlo Peter <laca@ireland.sun.com>
Fri, 29 Jun 2001 14:36:17 +0000 (14:36 +0000)
committerLászló PÉTER <laca@src.gnome.org>
Fri, 29 Jun 2001 14:36:17 +0000 (14:36 +0000)
2001-06-29  Laszlo Peter <laca@ireland.sun.com>

* gnome-pkgconfig.m4 (GNOME_PKGCONFIG_CHECK_VERSION): Fix the regexp
to process all 6 version numbers.

svn path=/trunk/; revision=1837

macros2/ChangeLog
macros2/gnome-pkgconfig.m4

index d09a271..45afd42 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-29  Laszlo Peter <laca@ireland.sun.com>
+
+       * gnome-pkgconfig.m4 (GNOME_PKGCONFIG_CHECK_VERSION): Fix the regexp
+       to process all 6 version numbers.
+
 2001-06-22  Elliot Lee  <sopwith@redhat.com>
 
        * gnome-gettext.m4: N'sync with the gnome1 version, bye bye buggies.
index 11621fb..550b3b8 100644 (file)
@@ -6,10 +6,10 @@ dnl to the corresponding number of required-version.
 dnl GNOME_PKGCONFIG_CHECK_VERSION(given-version, required-version [, match-action] [, else-action])
 AC_DEFUN([GNOME_PKGCONFIG_CHECK_VERSION],[
 [eval `echo "$1:0:0:0:0:0:0" | sed -e 's/^[^0-9]*//' -e 's/[^0-9]\+/:/g' \
- -e 's/\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):.*/ac_v1=\1 ac_v2=\2 ac_v3=\3 ac_v4=\4 ac_v5=\5 ac_v6=\6/' \
+ -e 's/\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):.*/ac_v1=\1 ac_v2=\2 ac_v3=\3 ac_v4=\4 ac_v5=\5 ac_v6=\6/' \
 `]
 [eval `echo "$2:0:0:0:0:0:0" | sed -e 's/^[^0-9]*//' -e 's/[^0-9]\+/:/g' \
- -e 's/\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):.*/ac_r1=\1 ac_r2=\2 ac_r3=\3 ac_r4=\4 ac_r5=\5 ac_r6=\6/' \
+ -e 's/\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):.*/ac_r1=\1 ac_r2=\2 ac_r3=\3 ac_r4=\4 ac_r5=\5 ac_r6=\6/' \
 `]
 ac_vm=[`expr \( $ac_v1 \> $ac_r1 \) \| \( \( $ac_v1 \= $ac_r1 \) \& \(          \
               \( $ac_v2 \> $ac_r2 \) \| \( \( $ac_v2 \= $ac_r2 \) \& \(         \