diff -r b098ee22aa97 -r 3c48e11c3901 common/autoconf/platform.m4 --- a/common/autoconf/platform.m4 Thu Oct 24 10:43:35 2013 +0200 +++ b/common/autoconf/platform.m4 Thu Oct 24 20:45:43 2013 -0400 @@ -327,6 +327,13 @@ fi AC_SUBST(OPENJDK_TARGET_OS_API_DIR) + if test "x$OPENJDK_TARGET_OS" = xmacosx; then + OPENJDK_TARGET_OS_EXPORT_DIR=macosx + else + OPENJDK_TARGET_OS_EXPORT_DIR=${OPENJDK_TARGET_OS_API_DIR} + fi + AC_SUBST(OPENJDK_TARGET_OS_EXPORT_DIR) + if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then A_LP64="LP64:=" # -D_LP64=1 is only set on linux and mac. Setting on windows causes diff in