lil_panda 0 Light Poster

Okay, so I am making a simple SDL-OpenGL application. I have already written the code and compiled it fine, but I want to incorporate it into an autotools project. I've tried. Here's the problem: I'm running Mac OS, so along with my C++ code, I must also compile an Objective-C file called SDLMain.m , which contains the glue code needed to make my program work. When I run automake , it tells me that I must invoke AC_PROG_OBJC in my configure.in file, but when I do, the AC_PROG_CXX seems to be overshadowing it. Is there a way I can use my program with autotools?