[java-atk-wrapper] Change JAVA_HOME to JRE_SRC
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] Change JAVA_HOME to JRE_SRC
- Date: Fri, 17 Oct 2014 23:22:30 +0000 (UTC)
commit 463d15653814f9a3df37e318188a954f6fe90aa0
Author: Magdalen Berns <m berns thismagpie com>
Date: Sat Oct 18 00:18:18 2014 +0100
Change JAVA_HOME to JRE_SRC
JAVA_HOME is actually the java runtime location so the naming used was a
bit misleading. Solution: give the constant a name which refers to what
it factually is.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=738731
configure.ac | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3503d8e..fb732b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,13 +58,13 @@ AC_SUBST(LIB_ATK_WRAPPER_LD_FLAGS)
JAVA_REQUIRED=1.5
JAVA_ERROR_MESSAGE="Java $JAVA_REQUIRED or later is required to build java-access-bridge"
-AC_ARG_VAR([JAVA_HOME],[Java Runtime Environment location])
+AC_ARG_VAR([JRE_SRC],[Java Runtime Environment location])
AC_ARG_VAR([JDK_SRC],[JDK installation path])
-if test -z "$JAVA_HOME"; then
+if test -z "$JRE_SRC"; then
JAVA_PATH=${PATH}
else
- JAVA_PATH=${JAVA_HOME}:${JAVA_HOME}/jre/bin:${JAVA_HOME}/bin:${JAVA_HOME}/../bin:${PATH}
+ JAVA_PATH=${JRE_SRC}:${JRE_SRC}/jre/bin:${JRE_SRC}/bin:${JRE_SRC}/../bin:${PATH}
fi
AC_PATH_PROG(JAVA,java,,${JAVA_PATH})
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]