summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrice Goglin <brice.goglin@ens-lyon.org>2007-04-09 13:06:46 -0700
committerEric Anholt <eric@anholt.net>2007-04-09 13:06:55 -0700
commit656fbd952542ba5ddc9b018071008ceb38b1bd19 (patch)
tree65934e74a72b492c2fa3572174490db6300cb930
parentaa850d3c633a510d787ee59e538e26e5c3acbf4a (diff)
Bug #10515: Fix module version number with more than one digit per field.
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 06431abc..0f7fca68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,13 +27,13 @@ AC_INIT([xf86-video-intel],
xf86-video-intel)
AC_DEFINE_UNQUOTED([INTEL_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([INTEL_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([INTEL_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])