SF.net SVN: geany:[5360] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Tue Nov 2 17:39:46 UTC 2010


Revision: 5360
          http://geany.svn.sourceforge.net/geany/?rev=5360&view=rev
Author:   ntrel
Date:     2010-11-02 17:39:46 +0000 (Tue, 02 Nov 2010)

Log Message:
-----------
Print "GIO" and "built-in regex" if enabled with --version.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/main.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-11-02 17:15:22 UTC (rev 5359)
+++ trunk/ChangeLog	2010-11-02 17:39:46 UTC (rev 5360)
@@ -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>

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c	2010-11-02 17:15:22 UTC (rev 5359)
+++ trunk/src/main.c	2010-11-02 17:39:46 UTC (rev 5360)
@@ -513,10 +513,19 @@
 
 	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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list