Displaying 8 results from an estimated 8 matches for "have_java".
2018 May 04
3
[PATCH] java: support OpenJDK 10+
...bug.do?bug_id=JDK-8182758
---
java/Makefile.am | 11 +++++++++++
m4/guestfs-java.m4 | 5 ++---
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/java/Makefile.am b/java/Makefile.am
index 376d89d17..81c20f266 100644
--- a/java/Makefile.am
+++ b/java/Makefile.am
@@ -77,6 +77,9 @@ if HAVE_JAVA
JAVAC_FLAGS = $(EXTRA_JAVAC_FLAGS) -encoding utf-8
JAVADOC_FLAGS = -encoding utf-8
+if !HAVE_JAVAH
+JAVAC_FLAGS += -h .
+endif
# Java source.
@@ -125,10 +128,18 @@ libguestfs_jni_la_LDFLAGS = -version-info $(JNI_VERSION_INFO) -shared
BUILT_SOURCES = com_redhat_et_libguestfs_GuestFS.h...
2015 Feb 09
11
[PATCH 1/5] macosx: Add required third parameter for xdrproc_t callbacks
>From Apple's xdr.h:
"If your code invokes an xdrproc_t callback, it must be modified to pass
a third parameter, which may simply be zero."
---
src/proto.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/proto.c b/src/proto.c
index 92ae84d..57f4882 100644
--- a/src/proto.c
+++ b/src/proto.c
@@ -252,7 +252,12 @@ guestfs___send (guestfs_h *g, int proc_nr,
*
2018 May 06
0
Re: [PATCH] java: support OpenJDK 10+
* Pino Toscano:
> @@ -163,6 +161,7 @@ if test "x$with_java" != "xno"; then
> AC_SUBST(JAR_INSTALL_DIR)
> AC_SUBST(JNI_INSTALL_DIR)
> AC_SUBST(JNI_VERSION_INFO)
> + AM_CONDITIONAL([HAVE_JAVAH],[test -n "$JAVAH"])
> fi
>
> AM_CONDITIONAL([HAVE_JAVA],[test "x$with_java" != "xno" && test -n "$JAVAC"])
The AM_CONDITIONAL must be moved outside the if ... fi shell
conditional, otherwise configure will fail if invoked with
--withou...
2018 May 06
1
Re: [PATCH] java: support OpenJDK 10+
...6PM +0200, Hilko Bengen wrote:
> * Pino Toscano:
>
> > @@ -163,6 +161,7 @@ if test "x$with_java" != "xno"; then
> > AC_SUBST(JAR_INSTALL_DIR)
> > AC_SUBST(JNI_INSTALL_DIR)
> > AC_SUBST(JNI_VERSION_INFO)
> > + AM_CONDITIONAL([HAVE_JAVAH],[test -n "$JAVAH"])
> > fi
> >
> > AM_CONDITIONAL([HAVE_JAVA],[test "x$with_java" != "xno" && test -n "$JAVAC"])
>
> The AM_CONDITIONAL must be moved outside the if ... fi shell
> conditional, otherwise configure will...
2015 Feb 09
0
[PATCH 3/5] java: Turn off doclint to prevent errors on JDK 8
...log.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
---
java/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/Makefile.am b/java/Makefile.am
index fa5b45c..a76a9d1 100644
--- a/java/Makefile.am
+++ b/java/Makefile.am
@@ -68,7 +68,7 @@ clean-local:
if HAVE_JAVA
JAVAC_FLAGS = $(EXTRA_JAVAC_FLAGS) -encoding utf-8
-JAVADOC_FLAGS = -encoding utf-8
+JAVADOC_FLAGS = -encoding utf-8 -Xdoclint:none
# Java source.
--
1.9.3
2015 Feb 09
1
Re: [PATCH 3/5] java: Turn off doclint to prevent errors on JDK 8
...javadoc.html
> ---
> java/Makefile.am | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/java/Makefile.am b/java/Makefile.am
> index fa5b45c..a76a9d1 100644
> --- a/java/Makefile.am
> +++ b/java/Makefile.am
> @@ -68,7 +68,7 @@ clean-local:
> if HAVE_JAVA
>
> JAVAC_FLAGS = $(EXTRA_JAVAC_FLAGS) -encoding utf-8
> -JAVADOC_FLAGS = -encoding utf-8
> +JAVADOC_FLAGS = -encoding utf-8 -Xdoclint:none
I'd say it would be much better to fix the issues doclint issues,
if possible, rather than disabling all of them.
--
Pino Toscano
2015 Oct 27
1
[PATCH] configure: Move language binding detection to separate files.
This commit starts to split our massive, monolithic configure.ac file
into smaller files, using the m4_include mechanism to combine them.
I don't know if we should really do this, so I'm open to comments
about it. However:
- Our configure.ac script is 1800+ lines long, and that's pretty long.
- configure.ac lacks structure; splitting it up might improve that.
- From what I read,
2015 Oct 29
16
[PATCH 00/16] Refactoring of configure.ac and guestfs.pod
Two (not related to each other) refactorings:
Patches 1-12 split configure.ac into smaller files using the
m4_include mechanism.
Patches 13-15 split out parts of guestfs.pod (ie. guestfs(3)) into
three new manual pages:
guestfs-hacking(3) - how to extend and contribute to libguestfs
guestfs-internals(3) - architecture and internals
guestfs-security(3) - security and CVEs
Patch 16 is a