Fix: java class check when uudecode is not present
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mathieu Desnoyers
Appliedmerged into stable-2.6 and master, thanks!
Mathieu
Quoted 29 lines · ----- On Jun 30, 2015, at 4:59 PM, Michael Jeanson [email protected] wrote:
On systems where 'uudecode' is present, the java class check will run a precompiled class file in the local directory. If the CLASSPATH variable doesn't contain "." the test will fail regardless of the presence of the tested for class on the classpath.
This fix makes the behavior of the test consistant whether 'uudecode' is present or not.
Signed-off-by Michael Jeanson <[email protected]>---
config/ax_check_class.m4 | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)config/ax_check_class.m4 +1
-1@@ -118,7 +118,7 @@ EOF ac_cv_prog_uudecode_base64=no fi rm -f Test.uue - if AC_TRY_COMMAND($JAVA $JAVAFLAGS Test $1) >/dev/null 2>&1; then + if AC_TRY_COMMAND($JAVA -classpath ".:$CLASSPATH" $JAVAFLAGS Test $1)Quoted 1 line
/dev/null2>&1; theneval "ac_cv_class_$ac_var_name=yes" else eval "ac_cv_class_$ac_var_name=no"--
1.9.1
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com