[PATCH 2/3] Use autoconfigured package version if possible.

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Tue Apr 24 17:44:06 PDT 2007


Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
---
 src/acecad.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/acecad.c b/src/acecad.c
index c10aaf4..9102f96 100644
--- a/src/acecad.c
+++ b/src/acecad.c
@@ -27,6 +27,10 @@
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
+#else
+#define PACKAGE_VERSION_MAJOR 1
+#define PACKAGE_VERSION_MINOR 1
+#define PACKAGE_VERSION_PATCHLEVEL 1
 #endif
 
 #define _ACECAD_C_
@@ -105,7 +109,7 @@ static XF86ModuleVersionInfo VersionRec =
 	MODINFOSTRING1,
 	MODINFOSTRING2,
 	XORG_VERSION_CURRENT,
-	1, 1, 1,
+	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