Mercurial > projects > ldc
changeset 788:dce4b4ea2aee
Print llvm package string in version header. See #128.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Wed, 26 Nov 2008 19:40:11 +0100 |
parents | 5d2ac0c2dd46 |
children | 9433bcc45837 |
files | dmd/mars.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dmd/mars.c Tue Nov 25 17:15:02 2008 +0100 +++ b/dmd/mars.c Wed Nov 26 19:40:11 2008 +0100 @@ -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 @@ 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\