@@ -2116,6 +2116,35 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
21162116
21172117ac_config_headers="$ac_config_headers src/config.h"
21182118
2119+ ac_aux_dir=
2120+ for ac_dir in tools "$srcdir "/tools; do
2121+ if test -f "$ac_dir /install-sh"; then
2122+ ac_aux_dir=$ac_dir
2123+ ac_install_sh="$ac_aux_dir /install-sh -c"
2124+ break
2125+ elif test -f "$ac_dir /install.sh"; then
2126+ ac_aux_dir=$ac_dir
2127+ ac_install_sh="$ac_aux_dir /install.sh -c"
2128+ break
2129+ elif test -f "$ac_dir /shtool"; then
2130+ ac_aux_dir=$ac_dir
2131+ ac_install_sh="$ac_aux_dir /shtool install -c"
2132+ break
2133+ fi
2134+ done
2135+ if test -z "$ac_aux_dir "; then
2136+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir \"/tools" "$LINENO " 5
2137+ fi
2138+
2139+ # These three variables are undocumented and unsupported,
2140+ # and are intended to be withdrawn in a future Autoconf release.
2141+ # They can cause serious problems if a builder's source tree is in a directory
2142+ # whose full name contains unusual characters.
2143+ ac_config_guess="$SHELL $ac_aux_dir /config.guess" # Please don't use this var.
2144+ ac_config_sub="$SHELL $ac_aux_dir /config.sub" # Please don't use this var.
2145+ ac_configure="$SHELL $ac_aux_dir /configure" # Please don't use this var.
2146+
2147+
21192148
21202149# find R home and set CC/CFLAGS
21212150: ${R_HOME=`R RHOME`}
37643793
37653794{ $as_echo " $as_me :${as_lineno-$LINENO } : checking whether Java run-time works" >&5
37663795$as_echo_n " checking whether Java run-time works... " >&6 ; }
3767- if " $JAVA " -classpath . getsp; then
3796+ if " $JAVA " -classpath tools getsp; then
37683797 { $as_echo " $as_me :${as_lineno-$LINENO } : result: yes" >&5
37693798$as_echo " yes" >&6 ; }
37703799else
@@ -3777,7 +3806,7 @@ has_xrs="$want_xrs"
37773806if test x" $has_xrs " = xauto; then
37783807 { $as_echo " $as_me :${as_lineno-$LINENO } : checking whether -Xrs is supported" >&5
37793808$as_echo_n " checking whether -Xrs is supported... " >&6 ; }
3780- if " $JAVA " -Xrs -classpath . getsp; then
3809+ if " $JAVA " -Xrs -classpath tools getsp; then
37813810 has_xrs=yes
37823811 else
37833812 has_xrs=no
@@ -4035,35 +4064,6 @@ $as_echo "yes" >&6; }
40354064 export JAVA_HOME JAVA_CPPFLAGS JAVA_LIBS JAVA_LD_LIBRARY_PATH JAVA JAVAC JAVAH JAR
40364065 CONFIGURED=1
40374066 export CONFIGURED
4038- ac_aux_dir=
4039- for ac_dir in " $srcdir " " $srcdir /.." " $srcdir /../.." ; do
4040- if test -f " $ac_dir /install-sh" ; then
4041- ac_aux_dir=$ac_dir
4042- ac_install_sh=" $ac_aux_dir /install-sh -c"
4043- break
4044- elif test -f " $ac_dir /install.sh" ; then
4045- ac_aux_dir=$ac_dir
4046- ac_install_sh=" $ac_aux_dir /install.sh -c"
4047- break
4048- elif test -f " $ac_dir /shtool" ; then
4049- ac_aux_dir=$ac_dir
4050- ac_install_sh=" $ac_aux_dir /shtool install -c"
4051- break
4052- fi
4053- done
4054- if test -z " $ac_aux_dir " ; then
4055- as_fn_error $? " cannot find install-sh, install.sh, or shtool in \" $srcdir \" \" $srcdir /..\" \" $srcdir /../..\" " " $LINENO " 5
4056- fi
4057-
4058- # These three variables are undocumented and unsupported,
4059- # and are intended to be withdrawn in a future Autoconf release.
4060- # They can cause serious problems if a builder's source tree is in a directory
4061- # whose full name contains unusual characters.
4062- ac_config_guess=" $SHELL $ac_aux_dir /config.guess" # Please don't use this var.
4063- ac_config_sub=" $SHELL $ac_aux_dir /config.sub" # Please don't use this var.
4064- ac_configure=" $SHELL $ac_aux_dir /configure" # Please don't use this var.
4065-
4066-
40674067
40684068
40694069subdirs=" $subdirs jri"
0 commit comments