Add information about compile-time dependency versions

Since the codebase looks at these versions for turning on and off
functionality it will be useful to use this for debugging
This commit is contained in:
Mario Limonciello 2017-07-24 15:27:20 -05:00
parent 70d13a5a58
commit 9ac53e28b1

View File

@ -1801,6 +1801,15 @@ main (int argc, char *argv[])
#ifdef FWUPD_GIT_DESCRIBE
g_print ("checkout info:\t%s\n", FWUPD_GIT_DESCRIBE);
#endif
g_print ("compile-time dependency versions\n");
g_print ("\tappstream-glib:\t%d.%d.%d\n",
AS_MAJOR_VERSION,
AS_MINOR_VERSION,
AS_MICRO_VERSION);
g_print ("\tgusb:\t%d.%d.%d\n",
G_USB_MAJOR_VERSION,
G_USB_MINOR_VERSION,
G_USB_MICRO_VERSION);
return EXIT_SUCCESS;
}