Mercurial > hg > octave-nkf
changeset 18030:f0427ca399cc stable
configure.ac: Remove unused JAVA_HOME_NATIVE variable.
* configure.ac: Remove unused JAVA_HOME_NATIVE variable.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 28 Nov 2013 17:02:59 -0800 |
parents | 2ef2043a0601 |
children | 8695fa048226 |
files | configure.ac |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac +++ b/configure.ac @@ -2476,7 +2476,7 @@ JAVA_HOME=`echo $JAVA_TMP_HOME | $SED -e 's|[[/\\]]bin[[/\\]]\?$||' | $SED -e 's|[[/\\]]jre[[/\\]]\?$||'` fi - case $host_os in + case $build_os in mingw* | msdosmsvc) ## Under Win32 platform, we want JAVA_HOME to be in MSYS format, that is ## without colon and backslashes, as it is also used as path separator. @@ -2484,14 +2484,8 @@ ## (e.g. C:\Program Files\Java\...). if test -n "$JAVA_HOME"; then JAVA_HOME=`cd "$JAVA_HOME" && pwd` - ## Maybe this will be useful in the future, as native Java won't - ## understand MSYS paths. - JAVA_HOME_NATIVE=`cd "$JAVA_HOME" && pwd -W` fi ;; - *) - JAVA_HOME_NATIVE="$JAVA_HOME" - ;; esac ## Amend search path for JAVAC and JAR.