There is no need for a "WinMain" in any of the other instances of AC_TRY_RUN, an ordinary main() works fine (as is required by the C standard). So there has to be something more to it...
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-03-24 21:05: Subject: SDL-fel
Perhaps related to the -lSDLmain and -Dmain=SDL_main magic that SDL does? Without it (in the case of a standalone app) there is is no WinMain method I believe. Does adding
-Dmain=SDL_main and -lSDLmain to the cflags respective libs help? Of course, when you link Pike itself you don't want to use SDLmain most likely (it mainly parses the command line etc).
/ David Hedbor