This is an automated email from the ASF dual-hosted git repository. jimjag pushed a commit to branch AOO42X in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit bec5358449b84f9ece6010c21072c75cf524ff86 Author: Damjan Jovanovic <[email protected]> AuthorDate: Wed Mar 1 05:45:16 2023 +0200 Append ".exe" to "javac" and "javadoc" detection on Windows too, just like we do on OS/2. Patch by: me (cherry picked from commit fa0b85184c7d01f9b385b47b3b7416bf2a03a533) --- main/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/configure.ac b/main/configure.ac index 44a4448349..7af09495a5 100644 --- a/main/configure.ac +++ b/main/configure.ac @@ -3195,7 +3195,7 @@ if test "$SOLAR_JAVA" != ""; then else javacompiler="javac" fi - if test "$_os" = "OS2"; then + if test "$_os" = "WNT" -o "$_os" = "OS2"; then if test x`echo "$javacompiler" | $GREP -i '\.exe$'` = x; then javacompiler="${javacompiler}.exe" fi @@ -3254,7 +3254,7 @@ if test "$SOLAR_JAVA" != ""; then AC_PATH_PROG(JAVADOC, javadoc) else _javadoc_path="$with_jdk_home/bin/javadoc" - if test "$_os" = "OS2"; then + if test "$_os" = "WNT" -o "$_os" = "OS2"; then if test x`echo "$_javadoc_path" | $GREP -i '\.exe$'` = x; then _javadoc_path="${_javadoc_path}.exe" fi
