summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2006-10-26 15:40:46 +0300
committerGeorge Sapountzis <gsap7@yahoo.gr>2006-10-26 16:23:29 +0300
commitca8c148942371c9445f32985625ce38eabc016e1 (patch)
treee36c8df50226dd289ab01eebc2130d669c1fba72
parent23cec754158c94b43225b2070fc0a0b003e7bd25 (diff)
Handle .99 in version patch level.
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 4599429..ca69b0e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,13 +26,13 @@ AC_INIT([xf86-video-ati],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
xf86-video-ati)
AC_DEFINE_UNQUOTED([ATI_VERSION_MAJOR],
- [$(echo $PACKAGE_VERSION | sed -e 's/^\([[0-9]]\)\.[[0-9]]\.[[0-9]]/\1/')],
+ [$(echo $PACKAGE_VERSION | sed -e 's/^\([[0-9]]\)\.[[0-9]]\.[[0-9]\+]/\1/')],
[Major version])
AC_DEFINE_UNQUOTED([ATI_VERSION_MINOR],
- [$(echo $PACKAGE_VERSION | sed -e 's/^[[0-9]]\.\([[0-9]]\)\.[[0-9]]/\1/')],
+ [$(echo $PACKAGE_VERSION | sed -e 's/^[[0-9]]\.\([[0-9]]\)\.[[0-9]\+]/\1/')],
[Minor version])
AC_DEFINE_UNQUOTED([ATI_VERSION_PATCH],
- [$(echo $PACKAGE_VERSION | sed -e 's/^[[0-9]]\.[[0-9]]\.\([[0-9]]\)/\1/')],
+ [$(echo $PACKAGE_VERSION | sed -e 's/^[[0-9]]\.[[0-9]]\.\([[0-9]\+]\)/\1/')],
[Patch version])
AC_CONFIG_SRCDIR([Makefile.am])