Print "GIO" and "built-in regex" if enabled with --version.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5360 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
d39ae0de1c
commit
e5fefb576d
@ -12,6 +12,8 @@
|
||||
* src/ui_utils.c:
|
||||
Don't allow pasting of numbers followed by other characters in the
|
||||
Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
|
||||
* src/main.c:
|
||||
Print "GIO" and "built-in regex" if enabled with --version.
|
||||
|
||||
|
||||
2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
13
src/main.c
13
src/main.c
@ -513,10 +513,19 @@ static void parse_command_line_options(gint *argc, gchar ***argv)
|
||||
|
||||
if (show_version)
|
||||
{
|
||||
const gchar build_opts[] = ""
|
||||
#ifdef HAVE_GIO
|
||||
", GIO"
|
||||
#endif
|
||||
#ifdef USE_INCLUDED_REGEX
|
||||
", built-in regex"
|
||||
#endif
|
||||
;
|
||||
printf(PACKAGE " %s ", main_get_version_string());
|
||||
printf(_("(built on %s with GTK %d.%d.%d, GLib %d.%d.%d)"),
|
||||
printf(_("(built on %s with GTK %d.%d.%d, GLib %d.%d.%d%s)"),
|
||||
__DATE__, GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION,
|
||||
GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
|
||||
GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION,
|
||||
build_opts);
|
||||
printf("\n");
|
||||
|
||||
exit(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user