diff options
author | Eric Anholt <eric@anholt.net> | 2007-04-09 15:26:05 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-04-09 15:26:05 -0700 |
commit | bf9771e9711361632afe3abeeedca7ce03497005 (patch) | |
tree | 9ee4d26433da614088d1eda5c98f35820af9ef8f /configure.ac | |
parent | 656fbd952542ba5ddc9b018071008ceb38b1bd19 (diff) |
Don't use extended regexps in sed when not necessary.
Some seds require a flag to enable extended regexps.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 0f7fca68..2d265530 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]) |