You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2023/03/02 03:08:05 UTC
[openoffice] branch trunk updated: Add some logging to oowintool's detection of JDK home.
This is an automated email from the ASF dual-hosted git repository.
damjan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 32177a518e Add some logging to oowintool's detection of JDK home.
32177a518e is described below
commit 32177a518e024b6ff7e614db10c630e0bcd600e6
Author: Damjan Jovanovic <da...@apache.org>
AuthorDate: Thu Mar 2 05:06:01 2023 +0200
Add some logging to oowintool's detection of JDK home.
Patch by: me
---
main/configure.ac | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/main/configure.ac b/main/configure.ac
index 442c53f5d6..66dcce56dc 100644
--- a/main/configure.ac
+++ b/main/configure.ac
@@ -2977,10 +2977,14 @@ fi
if test "$_os" = "WINNT"; then
if test -z "$with_jdk_home"; then
+ AC_MSG_CHECKING([for JDK home])
_jdk_home=`$OOWINTOOL --jdk-home`
- if test -d "$_jdk_home"; then
+ AC_MSG_RESULT([$_jdk_home])
+ if test -d "$_jdk_home"; then
with_jdk_home="$_jdk_home"
- fi
+ else
+ AC_MSG_WARN([$_jdk_home is not a directory, ignoring it])
+ fi
else
with_jdk_home=`cygpath -u "$with_jdk_home"`
fi