summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-11-23 12:54:05 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-11-23 12:54:05 +0000
commitf0c8f17c21b96fb74629c9776431d56ee6bece90 (patch)
treea691f020fe484fc2d63968eeaa4a37015e43f474 /driver
parentd3418a54b5c684d6905ab7880667a85f8f8e397c (diff)
Fetch the module version from autotools instead of hard-coding it.
Diffstat (limited to 'driver')
-rw-r--r--driver/xf86-input-ws/src/ws.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/driver/xf86-input-ws/src/ws.c b/driver/xf86-input-ws/src/ws.c
index 886e8bd94..e68dbb025 100644
--- a/driver/xf86-input-ws/src/ws.c
+++ b/driver/xf86-input-ws/src/ws.c
@@ -13,7 +13,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $OpenBSD: ws.c,v 1.6 2009/11/23 12:37:32 matthieu Exp $ */
+/* $OpenBSD: ws.c,v 1.7 2009/11/23 12:54:04 matthieu Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -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,