diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2022-04-02 18:57:11 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2022-04-04 22:02:05 +0100 |
commit | e8c1bda0b5f3ed940797a01cf6988a298ab69bf8 (patch) | |
tree | 7e8b4632b49021fdcff0b8ddc95874fa0cc2c877 /Examples/Makefile.in | |
parent | 322574722bc2d1a2b951f736c4ce840bd921580b (diff) | |
download | swig-e8c1bda0b5f3ed940797a01cf6988a298ab69bf8.tar.gz |
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.
Diffstat (limited to 'Examples/Makefile.in')
-rw-r--r-- | Examples/Makefile.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Examples/Makefile.in b/Examples/Makefile.in index 1a27b32cd..d7b9a5bcf 100644 --- a/Examples/Makefile.in +++ b/Examples/Makefile.in @@ -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 |