Lines Matching refs:JAVA_HOME

2983    JAVA_HOME=; export JAVA_HOME
3032 # JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"`
3061 # JAVA_HOME=$with_jdk_home
3081 JAVA_HOME=$with_jdk_home
3094 JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"`
3096 JAVA_HOME=`echo $JAVA_HOME | $SED "s,\.[[eE]][[xX]][[eE]]$,,"`
3099 JAVA_HOME=`echo $JAVA_HOME | $SED "s,\.[[eE]][[xX]][[eE]]$,,"`
3107 JAVA_HOME=NO_JAVA_HOME ; export JAVA_HOME
3208 dnl first check if we have been asked to autodetect JAVA_HOME with a recent gij
3209 if test "$JDK" = "gcj" -a -z "$JAVA_HOME"; then
3236 JAVA_HOME=`$JAVAINTERPRETER findhome`
3237 if test $? = 0 && test "$JAVA_HOME" != "" ; then
3238 AC_MSG_RESULT([$JAVA_HOME])
3245 JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*$WITH_JAVA,,p"`
3249 dnl second sanity check JAVA_HOME if possible
3251 # check if JAVA_HOME was (maybe incorrectly?) set automatically to /usr
3252 if test "$JAVA_HOME" = "/usr" -a "x$with_jdk_home" = "x"; then
3258 # just need to strip a bit away to get a valid JAVA_HOME
3260 JAVA_HOME="$javac_link_f"
3264 JAVA_HOME=`readlink $JAVACOMPILER`
3267 AC_MSG_WARN([JAVA_HOME is set to /usr - this is very likely to be incorrect])
3268 … AC_MSG_WARN([if this is the case, please inform the correct JAVA_HOME with --with-jdk-home])
3269 echo "JAVA_HOME is set to /usr - this is very likely to be incorrect" >> warn
3270 … echo "if this is the case, please inform the correct JAVA_HOME with --with-jdk-home" >> warn
3272 dnl now that we have the path to the real javac, make a JAVA_HOME out of it..
3273 if test "$JAVA_HOME" != "/usr"; then
3276 JAVA_HOME=$(echo $JAVA_HOME | $SED -e s,/Current/Commands/javac$,/CurrentJDK/Home,)
3278JAVA_HOME=$(echo $JAVA_HOME | $SED -e s,/CurrentJDK/Commands/javac$,/CurrentJDK/Home,)
3280 JAVA_HOME=$(echo $JAVA_HOME | $SED -e s,/bin/javac$,,)
3284 # now check if $JAVA_HOME is really valid
3286 if test ! -f "$JAVA_HOME/lib/jvm.cfg" -a "x$with_jdk_home" = "x"; then
3289 elif test ! -d "$JAVA_HOME/jre" -a "x$with_jdk_home" = "x"; then
3293 … AC_MSG_WARN([JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script])
3294 AC_MSG_WARN([attempted to find JAVA_HOME automatically, but apparently it failed])
3295 … AC_MSG_WARN([in case JAVA_HOME is incorrectly set, some projects with not be built correctly])
3296 … echo "JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script" >> warn
3297 echo "attempted to find JAVA_HOME automatically, but apparently it failed" >> warn
3298 … echo "in case JAVA_HOME is incorrectly set, some projects with not be built correctly" >> warn
3312 CFLAGS="$CFLAGS -I$JAVA_HOME/include"
3313 LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj"
3328 CFLAGS="$CFLAGS -I$JAVA_HOME/include"
3329 LDFLAGS="$LDFLAGS -L$JAVA_HOME/jre/bin"
3330 …LD_LIBRARY_PATH=$JAVA_HOME/jre/bin:$JAVA_HOME/jre/bin/classic:$JAVA_HOME/jre/bin/xawt:$LD_LIBRARY_…
3337 LDFLAGS="$LDFLAGS -L$JAVA_HOME/jre/bin/xawt -ljawt"
3338 AC_CHECK_LIB(mawt, JAWT_GetAWT, [ AWTLIB="-L$JAVA_HOME/jre/bin/xawt -ljawt -lmawt"])
3383 AC_SUBST(JAVA_HOME) subst
3682 CXXFLAGS="$CXXFLAGS -I$JAVA_HOME/include"
3683 CPPFLAGS="$CPPFLAGS -I$JAVA_HOME/include"
6965 oldJAVA_HOME=$JAVA_HOME
6967 JAVA_HOME=; export JAVA_HOME
6991 JAVA_HOME=$oldJAVA_HOME
7082 JAVA_HOME=; export JAVA_HOME