java: Detect the path of javadoc
in configure
Without this change, the directory of `javadoc` command must be included in the `PATH` environment variable at `make`-time. Paths of `javac`, `javah`, and `jar` commands are detected in `configure`. So the path of `javadoc` also should be detected. Signed-off-by: KAWASHIMA Takahiro <t-kawashima@jp.fujitsu.com>
Этот коммит содержится в:
родитель
6ff2780426
Коммит
63f0945dcc
@ -17,6 +17,7 @@ dnl Copyright (c) 2008-2013 Cisco Systems, Inc. All rights reserved.
|
||||
dnl Copyright (c) 2013 Intel, Inc. All rights reserved.
|
||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
||||
dnl and Technology (RIST). All rights reserved.
|
||||
dnl Copyright (c) 2017 FUJITSU LIMITED. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
@ -162,10 +163,11 @@ AC_DEFUN([OPAL_SETUP_JAVA],[
|
||||
AC_PATH_PROG(JAVAC, javac)
|
||||
AC_PATH_PROG(JAVAH, javah)
|
||||
AC_PATH_PROG(JAR, jar)
|
||||
AC_PATH_PROG(JAVADOC, javadoc)
|
||||
PATH=$opal_java_PATH_save
|
||||
|
||||
# Check to see if we have all 3 programs.
|
||||
AS_IF([test -z "$JAVAC" || test -z "$JAVAH" || test -z "$JAR"],
|
||||
# Check to see if we have all 4 programs.
|
||||
AS_IF([test -z "$JAVAC" || test -z "$JAVAH" || test -z "$JAR" || test -z "$JAVADOC"],
|
||||
[opal_java_happy=no
|
||||
HAVE_JAVA_SUPPORT=0],
|
||||
[opal_java_happy=yes
|
||||
|
@ -3,6 +3,7 @@
|
||||
# Copyright (c) 2011-2014 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2015 Los Alamos National Security, LLC. All rights
|
||||
# reserved.
|
||||
# Copyright (c) 2017 FUJITSU LIMITED. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
@ -179,7 +180,7 @@ jdoc: doc
|
||||
# mpi.jar is ever rebuilt, then also make the docs eligible to be
|
||||
# rebuilt.
|
||||
doc: mpi/MPI.class
|
||||
$(OMPI_V_JAVADOC) javadoc $(OMPI_V_JAVADOC_QUIET) -d doc $(srcdir)/*.java
|
||||
$(OMPI_V_JAVADOC) $(JAVADOC) $(OMPI_V_JAVADOC_QUIET) -d doc $(srcdir)/*.java
|
||||
@touch doc
|
||||
|
||||
jdoc-install: doc
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user