summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 1 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index 0a5754e..93ce107 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,15 +26,7 @@ AC_INIT([xf86-video-nv],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
xf86-video-nv)
-AC_DEFINE_UNQUOTED([NV_MAJOR_VERSION],
- [$(echo $PACKAGE_VERSION | sed -e 's/^\([[0-9]\+]\)\.[[0-9]\+]\.[[0-9]\+]/\1/')],
- [Major version])
-AC_DEFINE_UNQUOTED([NV_MINOR_VERSION],
- [$(echo $PACKAGE_VERSION | sed -e 's/^[[0-9]\+]\.\([[0-9]\+]\)\.[[0-9]\+]/\1/')],
- [Minor version])
-AC_DEFINE_UNQUOTED([NV_PATCHLEVEL],
- [$(echo $PACKAGE_VERSION | sed -e 's/^[[0-9]\+]\.[[0-9]\+]\.\([[0-9]\+]\)/\1/')],
- [Patch version])
+XORG_RELEASE_VERSION
AC_CONFIG_SRCDIR([Makefile.am])
AM_CONFIG_HEADER([config.h])