aclocal.glob (mdw_LIBTOOL_VERSION_INFO): Use most significant numbers!
[cfd] / aclocal.glob
index 35d7853..8aa3fcc 100644 (file)
@@ -62,7 +62,7 @@ dnl           naughty.
 
 AC_DEFUN([mdw_LIBTOOL_VERSION_INFO], [
   set -- $(echo $PACKAGE_VERSION |
-  sed 's:[^.*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\.\([0-9][0-9]*\).*$]:\1 \2 \3:'
+  sed 's:[^\([0-9][0-9]*\)\.\([0-9][0-9]*\)\.\([0-9][0-9]*\).*$]:\1 \2 \3:'
   )
   LIBTOOL_VERSION_INFO="$(expr $[]1 + $[]2):$[]3:$[]2"
   AC_SUBST([LIBTOOL_VERSION_INFO])