]> git.lizzy.rs Git - rust.git/commit
Workaround `javac` popup on MacOS X
authorAndrea Canciani <ranma42@gmail.com>
Fri, 3 Apr 2015 13:05:54 +0000 (15:05 +0200)
committerAndrea Canciani <ranma42@gmail.com>
Fri, 3 Apr 2015 13:10:59 +0000 (15:10 +0200)
commit0621a83ba56943eb080fc523ae713cd4bdb9b882
tree8708b263baff73b46329f91a72c5ef41a6d1af87
parent82dcec7ee4a8a71fdfb8e8771ae6785261ec1d5b
Workaround `javac` popup on MacOS X

MacOS X does not ship with Java installed by default. Instead it
includes binary stubs that upon execution pop up a message suggesting
the installation of the JDK.

Since `javac` is only used when `antlr4` is available, it is possible
to work around the popup by only probing for `javac` if `antlr4` has
been successfully detected (in which case the JDK is probably already
installed on the system).

Fixes #23138.
configure