The R Project SVN R

Rev

Rev 35572 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35572 Rev 35586
Line 33... Line 33...
33
  else
33
  else
34
    echo "$as_me:$LINENO: running ${JAVA_PROG} $2" >&AS_MESSAGE_LOG_FD
34
    echo "$as_me:$LINENO: running ${JAVA_PROG} $2" >&AS_MESSAGE_LOG_FD
35
    acx_java_result=`${JAVA_PROG} $2 2>&AS_MESSAGE_LOG_FD`
35
    acx_java_result=`${JAVA_PROG} $2 2>&AS_MESSAGE_LOG_FD`
36
    echo "$as_me:$LINENO: output: '$acx_java_result'" >&AS_MESSAGE_LOG_FD
36
    echo "$as_me:$LINENO: output: '$acx_java_result'" >&AS_MESSAGE_LOG_FD
37
  fi
37
  fi
38
  AC_SUBST([$1], [$acx_java_result])
38
  $1=$acx_java_result
39
])
39
])
40
 
40
 
41
 
41
 
42
## R_JAVA
42
## R_JAVA
43
## -----------
43
## -----------
Line 71... Line 71...
71
getsp_cp=${ac_aux_dir}
71
getsp_cp=${ac_aux_dir}
72
 
72
 
73
AC_MSG_CHECKING([whether Java interpreter works])
73
AC_MSG_CHECKING([whether Java interpreter works])
74
acx_java_works=no
74
acx_java_works=no
75
if test -n "${JAVA_PROG}" ; then
75
if test -n "${JAVA_PROG}" ; then
76
  R_RUN_JAVA(jc_result,[-classpath ${getsp_cp} getsp -test])
76
  R_RUN_JAVA(acx_jc_result,[-classpath ${getsp_cp} getsp -test])
77
  if test "${jc_result}" = "Test1234OK"; then
77
  if test "${acx_jc_result}" = "Test1234OK"; then
78
    acx_java_works=yes
78
    acx_java_works=yes
79
  fi
79
  fi
-
 
80
  acx_jc_result=
80
fi
81
fi
81
 
82
 
82
if test ${acx_java_works} = yes; then
83
if test ${acx_java_works} = yes; then
83
  AC_MSG_RESULT([yes])
84
  AC_MSG_RESULT([yes])
84
 
85