Browse files

Makefile: add a comment about JCVALID

In 857d87f, we changed to runtime resolution,
explaining why in a script comment, not only in a commit comment.
  • Loading branch information...
1 parent ff1377f commit e27c7358574d8b125a6014ff11b3b8d7ae57016e @steveschnepp steveschnepp committed Jul 26, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 Makefile.config
@@ -160,6 +160,9 @@ JFLAGS := -g -source 1.5 -target 1.5 -Xlint
JAR := jar
# Check if the java compiler works
+# Note that we defer JCVALID evaluation to runtime,
+# since $(JC) can be redefined later in a specific Makefile.config
+# The core Makefile.config is then used as a Makefile.default
JCVALID = $(shell $(JC) -version >/dev/null 2>/dev/null && echo "yes")
# Check whether setruid functionality can be used

0 comments on commit e27c735

Please sign in to comment.