version: enhance printing
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
fad964dd3c
commit
63b0457fc4
|
@ -38,7 +38,7 @@ eprint_version(const char *const executable)
|
|||
{
|
||||
printf("%s (awesome) " AWESOME_VERSION
|
||||
" (" AWESOME_RELEASE ")\n"
|
||||
"built",
|
||||
" • Build:",
|
||||
executable);
|
||||
#if defined(__DATE__) && defined(__TIME__)
|
||||
printf(" " __DATE__ " " __TIME__);
|
||||
|
@ -51,17 +51,17 @@ eprint_version(const char *const executable)
|
|||
__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
|
||||
#endif
|
||||
printf(" (%s@%s)\n", AWESOME_COMPILE_BY, AWESOME_COMPILE_HOSTNAME);
|
||||
printf("* Image drawing engine: ");
|
||||
printf(" • Image drawing engine: ");
|
||||
#ifdef WITH_IMLIB2
|
||||
printf("Imlib2\n");
|
||||
#else
|
||||
printf("GdkPixBuf " GDK_PIXBUF_VERSION "\n");
|
||||
#endif
|
||||
printf("* DBus support: ");
|
||||
printf(" • DBus support: ");
|
||||
#ifdef WITH_DBUS
|
||||
printf("enabled\n");
|
||||
printf("✔\n");
|
||||
#else
|
||||
printf("disabled\n");
|
||||
printf("✘\n");
|
||||
#endif
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue