From d260cab7e9f7cf5c1d9f3e85012a4aa11538401d Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Wed, 26 Nov 2008 19:40:11 +0100 Subject: [PATCH] Print llvm package string in version header. See #128. --- dmd/mars.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dmd/mars.c b/dmd/mars.c index 2aacb602..c103fa25 100644 --- a/dmd/mars.c +++ b/dmd/mars.c @@ -39,6 +39,8 @@ #include "gen/logger.h" #include "gen/linker.h" +#include "llvm/Config/config.h" + void getenv_setargv(const char *envvar, int *pargc, char** *pargv); Global global; @@ -150,8 +152,8 @@ extern void backend_term(); void usage() { - printf("LLVM D Compiler %s (based on DMD %s and LLVM 2.4svn)\n%s\n%s\n", - global.ldc_version, global.version, global.copyright, global.written); + printf("LLVM D Compiler %s (based on DMD %s and %s)\n%s\n%s\n", + global.ldc_version, global.version, PACKAGE_STRING, global.copyright, global.written); printf("\ D Language Documentation: http://www.digitalmars.com/d/1.0/index.html\n\ LDC Homepage: http://www.dsource.org/projects/ldc\n\