summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@openbsd.org>2009-11-23 12:54:04 +0000
committerMatthieu Herrb <matthieu@openbsd.org>2009-11-23 12:54:04 +0000
commit1978c4588c6258e943391498fb68024bfd4ff4c3 (patch)
tree5b6b0c753c5ddcf3a405498ba49f650579aa8802
parentb016f995d5dfba5d4cdebbb038d4b0160d043ffc (diff)
Fetch the module version from autotools instead of hard-coding it.
-rw-r--r--src/ws.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ws.c b/src/ws.c
index ededd90..6180849 100644
--- a/src/ws.c
+++ b/src/ws.c
@@ -79,7 +79,9 @@ static XF86ModuleVersionInfo VersionRec = {
MODINFOSTRING1,
MODINFOSTRING2,
XORG_VERSION_CURRENT,
- 1, 0, 0,
+ PACKAGE_VERSION_MAJOR,
+ PACKAGE_VERSION_MINOR,
+ PACKAGE_VERSION_PATCHLEVEL,
ABI_CLASS_XINPUT,
ABI_XINPUT_VERSION,
MOD_CLASS_XINPUT,