summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrice Goglin <bgoglin@debian.org>2007-08-07 12:33:30 +0200
committerBrice Goglin <bgoglin@debian.org>2007-08-07 12:33:30 +0200
commitd6c60cc3fde115df8ab1913038923e1164b29f07 (patch)
tree1f42fad48ca325a2b01762feeac218308f5eb2c8
parentc37c8076df5fa28cdba255519037b184c1cca567 (diff)
Define NSC_VERSION_* using PACKAGE_VERSION*
-rw-r--r--src/nsc_driver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nsc_driver.c b/src/nsc_driver.c
index 353eac6..f5177ed 100644
--- a/src/nsc_driver.c
+++ b/src/nsc_driver.c
@@ -211,10 +211,10 @@
/* This should match the durango code version.
* The patchlevel may be used to indicate changes in geode.c
*/
-#define NSC_VERSION_NAME "2.8.1"
-#define NSC_VERSION_MAJOR 2
-#define NSC_VERSION_MINOR 8
-#define NSC_PATCHLEVEL 1
+#define NSC_VERSION_NAME PACKAGE_VERSION
+#define NSC_VERSION_MAJOR PACKAGE_VERSION_MAJOR
+#define NSC_VERSION_MINOR PACKAGE_VERSION_MINOR
+#define NSC_PATCHLEVEL PACKAGE_VERSION_PATCHLEVEL
#define NSC_VERSION_CURRENT ((NSC_VERSION_MAJOR << 24) | \
(NSC_VERSION_MINOR << 16) | NSC_PATCHLEVEL)