Skip to content

Commit

Permalink
Backed out changeset 5af48430563e (bug 1056128) for causing regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
BavarianTomcat committed Aug 26, 2014
1 parent e8d7c5d commit 212b975
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
4 changes: 2 additions & 2 deletions config/android-common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ ifndef JAVA_BOOTCLASSPATH
JAVA_BOOTCLASSPATH = $(ANDROID_SDK)/android.jar
endif

# For Android, we default to 1.7
# For Android, we default to 1.5
ifndef JAVA_VERSION
JAVA_VERSION = 1.7
JAVA_VERSION = 1.5
endif

JAVAC_FLAGS = \
Expand Down
18 changes: 0 additions & 18 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -5607,24 +5607,6 @@ if test -n "${JAVA_BIN_PATH}" -o \
fi
fi

AC_MSG_CHECKING([for minimum required javac version >= 1.7])

dnl Javac spits out something like `javac 1.8.0`. This line cuts off the 'javac'
_javac_version=$($JAVAC -version 2>&1 | cut -d ' ' -f 2)

dnl Here, we extract the major (1) and minor (8) version numbers from the
dnl acquired version string.
_javac_major_version=$(echo $_javac_version | cut -d '.' -f 1)
_javac_minor_version=$(echo $_javac_version | cut -d '.' -f 2)

AC_MSG_RESULT([$_javac_version])

dnl Fail if we have a version older than 1.7
if test "$_javac_major_version" -lt "1" -o \
\( "$_javac_minor_version" -lt "7" \); then
AC_MSG_ERROR([javac 1.7 or higher is required.])
fi

dnl ========================================================
dnl = ANGLE OpenGL->D3D translator for WebGL
dnl = * only applies to win32
Expand Down

0 comments on commit 212b975

Please sign in to comment.