From 656fbd952542ba5ddc9b018071008ceb38b1bd19 Mon Sep 17 00:00:00 2001 From: Brice Goglin Date: Mon, 9 Apr 2007 13:06:46 -0700 Subject: Bug #10515: Fix module version number with more than one digit per field. --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure.ac') 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]) -- cgit v1.2.3