From 47afd190b37d480d04da9c15d0232985837ba27b Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Mon, 19 Apr 2010 12:35:40 +0100 Subject: Report git version in XWin --- hw/xwin/winprocarg.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hw/xwin/winprocarg.c b/hw/xwin/winprocarg.c index 66a0503f2..47286fab1 100755 --- a/hw/xwin/winprocarg.c +++ b/hw/xwin/winprocarg.c @@ -35,6 +35,7 @@ from The Open Group. #define VENDOR_CONTACT BUILDERADDR #endif #include <../xfree86/common/xorgVersion.h> +#include #include "win.h" #include "winconfig.h" #include "winprefs.h" @@ -1250,8 +1251,11 @@ winLogVersionInfo (void) ErrorF ("Welcome to the XWin X Server\n"); ErrorF ("Vendor: %s\n", VENDOR_STRING); ErrorF ("Release: %d.%d.%d.%d (%d)\n", XORG_VERSION_MAJOR, XORG_VERSION_MINOR, XORG_VERSION_PATCH, XORG_VERSION_SNAP, XORG_VERSION_CURRENT); - ErrorF ("%s\n\n", BUILDERSTRING); + if (strlen(BUILDERSTRING)) ErrorF ("%s\n", BUILDERSTRING); ErrorF ("Contact: %s\n", VENDOR_CONTACT); +#ifdef XORG_GIT_VERSION + ErrorF ("git version: " XORG_GIT_VERSION "\n"); +#endif } /* -- cgit v1.2.3