[java-atk-wrapper/wip] Build: Add darwin includes
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper/wip] Build: Add darwin includes
- Date: Sun, 21 Jun 2015 19:20:40 +0000 (UTC)
commit 5f583c6d474b9c0d9cf018d627a39128dbcbf94b
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]