[java-atk-wrapper] Build: Add darwin includes
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] Build: Add darwin includes
- Date: Sun, 7 Jun 2015 16:29:12 +0000 (UTC)
commit 0b5c3e9be667bd842e997bf97a5e3520b225f4f7
Author: Magdalen Berns <m berns thismagpie com>
Date: Sun Jun 7 17:22:22 2015 +0100
Build: Add darwin includes
Setting $JDK/includes/darwin explicitly for darwin builds
avoids a compilation error due to failure to find headers
in that directory
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=750501
acinclude.m4 | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/acinclude.m4 b/acinclude.m4
index d1581cd..05c0133 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -51,6 +51,17 @@ case "$host" in
PLATFORM_CLASSPATH_SEPARATOR=":"
SOPREFIX=
;;
+ *-*-darwin*)
+ if test "$gcj_compile" = "yes"; then
+ JNI_INCLUDES=
+ else
+ JNI_INCLUDES="-I$JDK_SRC/include -I$JDK_SRC/include/darwin"
+ fi
+ PLATFORM_CFLAGS=
+ PLATFORM_LDFLAGS=
+ PLATFORM_CLASSPATH_SEPARATOR=":"
+ SOPREFIX=
+ ;;
*)
if test "$gcj_compile" = "yes"; then
JNI_INCLUDES=
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]