aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/version.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/version.c b/src/version.c
index 51dc453..8484a76 100644
--- a/src/version.c
+++ b/src/version.c
@@ -19,8 +19,11 @@
#include "autoconf.h"
-/* Keep a string with the version number in it! */
-const char * gdbm_version = "GDBM version 1.9.0. xx/xx/2007"
+/* Keep a string with the version number in it.
+ The DIST_DATE magic below is replaced by the actual date when
+ making the distdir. */
+const char * gdbm_version = "GDBM version " PACKAGE_VERSION ". "
+/*@DIST_DATE@*/
#if defined(__STDC__) && defined(__DATE__) && defined(__TIME__)
" (built " __DATE__ " " __TIME__ ")"
#endif

Return to:

Send suggestions and report system problems to the System administrator.