ALLOCA Patch for SDL-1.2

Hello !

As alloca.h is not available on CYGWIN and MinGW32
it should not be checked there or it should be checked
with -mno-cygwin using.

I am a total configure.in newbie, but i found the way
that things are handled in configure.in pretty bad for the
case CYGWIN with MinGW Mode or not.

Maybe this is not possible but i would like to
have a way to detect at the start for example CYGWIN
and then add. ask if configure was called with --enable-cygwin
for example. --enable-cygwin should be optional and disabled
by default as we want to have MinGW Mode by default.

Only if the user wants it he should be able to use it.

Then the whole configure.in would get add. questions
okay the system is CYGWIN with or without MinGW Mode.

The alloca.h thing for example is only
available under CYGWIN ( without MinGW Mode ).

CU
-------------- next part --------------
A non-text attachment was scrubbed…
Name: ALLOCA.patch
Type: text/x-diff
Size: 456 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20061024/b3b58c55/attachment.patch