Mercurial > projects > ldc
changeset 789:9433bcc45837
Use LLVM package string for llvm version info in D2 frontend too.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Wed, 26 Nov 2008 19:44:06 +0100 |
parents | dce4b4ea2aee |
children | e6fe47d46783 3e0b643090f1 |
files | dmd2/mars.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dmd2/mars.c Wed Nov 26 19:40:11 2008 +0100 +++ b/dmd2/mars.c Wed Nov 26 19:44:06 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/2.0/index.html\n\ LDC Homepage: http://www.dsource.org/projects/ldc\n\