--- configure.orig	2011-11-19 08:50:37.000000000 -0800
+++ configure	2011-11-20 15:36:38.000000000 -0800
@@ -27539,6 +27539,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include "SDL.h"
+#define main main
 int main (int argc, char *argv[])
 {
    if ( (SDL_MAJOR_VERSION > $sdl_major_version) ||
