D compiler detection enhancements
Detect LLVM D compiler ldmd2 or ldc2. Show D version. Note that dmd does not have an explicit command line option to show version.
This commit is contained in:
parent
322574722b
commit
e8c1bda0b5
2 changed files with 2 additions and 3 deletions
|
|
@ -1626,8 +1626,7 @@ d_run:
|
|||
# -----------------------------------------------------------------
|
||||
|
||||
d_version:
|
||||
# Needs improvement!
|
||||
echo D version guess - $(D_VERSION)
|
||||
($(DCOMPILER) --version 2> /dev/null || $(DCOMPILER)) | head -n 3
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Clean the D examples
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue