Mercurial > projects > ldc
diff dmd2/mars.c @ 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 | 45d9c218fd32 |
children | 340acf1535d0 |
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\