From ca8c148942371c9445f32985625ce38eabc016e1 Mon Sep 17 00:00:00 2001 From: George Sapountzis Date: Thu, 26 Oct 2006 15:40:46 +0300 Subject: Handle .99 in version patch level. --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure.ac') 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]) -- cgit v1.2.3