Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
03833c09
Kaydet (Commit)
03833c09
authored
Agu 24, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up java-target-version indentation etc.
Change-Id: Ia3440508b929b37dd4aa5d045445ca7b73bb85d9
üst
d7a5df7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
configure.in
configure.in
+7
-9
No files found.
configure.in
Dosyayı görüntüle @
03833c09
...
@@ -1710,7 +1710,7 @@ AC_ARG_WITH(java,
...
@@ -1710,7 +1710,7 @@ AC_ARG_WITH(java,
[ with_java=java ]
[ with_java=java ]
)
)
AC_ARG_WITH(java
_target_
version,
AC_ARG_WITH(java
-target-
version,
AS_HELP_STRING([--with-java-target-version],
AS_HELP_STRING([--with-java-target-version],
[Generate class files that will work on JVMs with the specified version.
[Generate class files that will work on JVMs with the specified version.
For example, use --with-java-target-version=1.5 to make sure that the
For example, use --with-java-target-version=1.5 to make sure that the
...
@@ -5586,19 +5586,18 @@ else
...
@@ -5586,19 +5586,18 @@ else
JAVA_HOME=NO_JAVA_HOME ; export JAVA_HOME
JAVA_HOME=NO_JAVA_HOME ; export JAVA_HOME
fi
fi
_java_target_ver="1.5"
dnl ===================================================================
dnl ===================================================================
dnl Check for target Java bytecode version
dnl Check for target Java bytecode version
dnl ===================================================================
dnl ===================================================================
if test "$SOLAR_JAVA" != ""; then
if test "$SOLAR_JAVA" != ""; then
AC_MSG_CHECKING([for target Java bytecode version])
AC_MSG_CHECKING([for target Java bytecode version])
if test "$JDK" = "gcj" -o "$JDK" = "kaffe"; then
if test "$JDK" = "gcj" -o "$JDK" = "kaffe"; then
AC_MSG_RESULT([default by $JDK])
_java_target_ver="1.5"
if test -n "$with_java_target_version" -a "$with_java_target_version" != "no"; then
AC_MSG_RESULT([default by $JDK])
AC_MSG_WARN([Value defined by --with-java-target-version is ignored!])
if test -n "$with_java_target_version" -a "$with_java_target_version" != "no"; then
fi
AC_MSG_WARN([Value defined by --with-java-target-version is ignored!])
else
fi
if test -n "$with_java_target_version" -a "$with_java_target_version" != "no"; then
el
if test -n "$with_java_target_version" -a "$with_java_target_version" != "no"; then
_java_target_ver="$with_java_target_version"
_java_target_ver="$with_java_target_version"
AC_MSG_RESULT([$_java_target_ver])
AC_MSG_RESULT([$_java_target_ver])
elif test $_jdk_ver -gt 10000; then
elif test $_jdk_ver -gt 10000; then
...
@@ -5607,7 +5606,6 @@ if test "$SOLAR_JAVA" != ""; then
...
@@ -5607,7 +5606,6 @@ if test "$SOLAR_JAVA" != ""; then
else
else
AC_MSG_ERROR([Unable to guess Java bytecode version from Java version!])
AC_MSG_ERROR([Unable to guess Java bytecode version from Java version!])
fi
fi
fi
JAVA_SOURCE_VER="$_java_target_ver"
JAVA_SOURCE_VER="$_java_target_ver"
JAVA_TARGET_VER="$_java_target_ver"
JAVA_TARGET_VER="$_java_target_ver"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment