Permalink
Browse files

- defer JCVALID evaluation to runtime, since $(JC) can be redefined l…

…ater in a specific Makefile.config. The core Makefile.config serving as a Makefile.default in this case.
  • Loading branch information...
1 parent 600438d commit 857d87f1c3cd5d760df3f521bef457eaa6ce1ac0 @steveschnepp steveschnepp committed May 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile.config
View
@@ -160,7 +160,7 @@ JFLAGS := -g -source 1.5 -target 1.5
JAR := jar
# Check if the java compiler works
-JCVALID := $(shell $(JC) -version >/dev/null 2>/dev/null && echo "yes")
+JCVALID = $(shell $(JC) -version >/dev/null 2>/dev/null && echo "yes")
# Check whether setruid functionality can be used
HASSETR := $(shell perl -e 'use Config; my @vars=("d_setruid", "d_setreuid", "d_setresuid"); foreach my $$var (@vars) { if ($$Config{$$var} eq "define") { print "1\n"; exit 0; } } print "0\n"; exit 0;' )

0 comments on commit 857d87f

Please sign in to comment.