[PATCH] Use autocofigured package version if possible. Update the module version to the autoconfigured one.

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Tue Apr 24 18:06:26 PDT 2007


---
 src/evdev.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/evdev.c b/src/evdev.c
index 49ee4c7..eceae20 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -55,6 +55,10 @@
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
+#else
+#define PACKAGE_VERSION_MAJOR 1
+#define PACKAGE_VERSION_MINOR 2
+#define PACKAGE_VERSION_PATCHLEVEL 0
 #endif
 
 #include <X11/keysym.h>
@@ -457,7 +461,7 @@ static XF86ModuleVersionInfo EvdevVersionRec =
     MODINFOSTRING1,
     MODINFOSTRING2,
     XORG_VERSION_CURRENT,
-    1, 1, 0,
+    PACKAGE_VERSION_MAJOR, PACKAGE_VERSION_MINOR, PACKAGE_VERSION_PATCHLEVEL,
     ABI_CLASS_XINPUT,
     ABI_XINPUT_VERSION,
     MOD_CLASS_XINPUT,
-- 
1.5.1.2




More information about the xorg mailing list