--- acinclude.m4.orig	2010-06-26 13:54:49.000000000 -0500
+++ acinclude.m4	2011-03-01 18:18:27.000000000 -0600
@@ -297,8 +297,8 @@
   AQUA_LIBS="-framework IOKit -framework Carbon -framework Cocoa -bind_at_load"
   AC_SUBST(AQUA_LIBS)
 
-  OBJC="gcc"
-  OBJCFLAGS="-Wno-import"
+  AC_REQUIRE([AC_PROG_OBJC])
+  OBJCFLAGS+=" -Wno-import"
   AC_SUBST(OBJC)
   AC_SUBST(OBJCFLAGS)
 fi
