diff finch/finch.c @ 21030:3cc856ca2338

Add a --with-extraversion option to ./configure so packagers can fine tune the version displayed to the end user to assist in support and things. Fixes #3681
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 27 Oct 2007 13:56:54 +0000
parents de68625c4c04
children 2325df611c04
line wrap: on
line diff
--- a/finch/finch.c	Sat Oct 27 13:36:14 2007 +0000
+++ b/finch/finch.c	Sat Oct 27 13:56:54 2007 +0000
@@ -203,7 +203,7 @@
 	char *text;
 
 	if (terse) {
-		text = g_strdup_printf(_("%s. Try `%s -h' for more information.\n"), VERSION, name);
+		text = g_strdup_printf(_("%s. Try `%s -h' for more information.\n"), DISPLAY_VERSION, name);
 	} else {
 		text = g_strdup_printf(_("%s\n"
 		       "Usage: %s [OPTION]...\n\n"
@@ -211,7 +211,7 @@
 		       "  -d, --debug         print debugging messages to stdout\n"
 		       "  -h, --help          display this help and exit\n"
 		       "  -n, --nologin       don't automatically login\n"
-		       "  -v, --version       display the current version and exit\n"), VERSION, name);
+		       "  -v, --version       display the current version and exit\n"), DISPLAY_VERSION, name);
 	}
 
 	purple_print_utf8_to_console(stdout, text);
@@ -298,7 +298,7 @@
 		/* Translators may want to transliterate the name.
 		 It is not to be translated. */
 		gnt_quit();
-		printf("%s %s\n", _("Finch"), VERSION);
+		printf("%s %s\n", _("Finch"), DISPLAY_VERSION);
 		return 0;
 	}