Skip to content

Commit

Permalink
make configure fail when java is enabled but java/javac/ant are not
Browse files Browse the repository at this point in the history
detected
  • Loading branch information
Soeren Sonnenburg committed Aug 26, 2011
1 parent 14bccf1 commit ef7f6a3
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions src/configure
Expand Up @@ -622,13 +622,31 @@ EOF
test_jblas
test_ujmp
else
echores "ant not detected"
if test "$_java_modular" = yes
then
die "ant required for java interface"
else
echores "ant not detected"
_java_modular=no
fi
fi
else
echores "javac not detected"
if test "$_java_modular" = yes
then
die "javac required for java interface"
else
echores "javac not detected"
_java_modular=no
fi
fi
else
echores "not detected"
if test "$_java_modular" = yes
then
die "java missing"
else
echores "not detected"
_java_modular=no
fi
fi
}

Expand Down

0 comments on commit ef7f6a3

Please sign in to comment.