1.1 --- a/common/autoconf/toolchain.m4 Fri Oct 26 14:29:57 2012 -0700 1.2 +++ b/common/autoconf/toolchain.m4 Mon Oct 29 14:06:57 2012 -0700 1.3 @@ -264,7 +264,7 @@ 1.4 1.5 ### Locate other tools 1.6 1.7 -if test "x$OPENJDK_TARGET_OS" != xwindows; then 1.8 +if test "x$OPENJDK_TARGET_OS" = xmacosx; then 1.9 AC_PROG_OBJC 1.10 BASIC_FIXUP_EXECUTABLE(OBJC) 1.11 else