Merge r2921:2922 from SDL trunk to 1.2 branch: mingw alloca.h workaround. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Fri, 01 Dec 2006 20:26:06 +0000
branchSDL-1.2
changeset 39013a7248359cdd
parent 3900 ce3a2bd11305
child 3902 aa07730d792f
Merge r2921:2922 from SDL trunk to 1.2 branch: mingw alloca.h workaround.
configure.in
     1.1 --- a/configure.in	Wed Nov 29 10:30:05 2006 +0000
     1.2 +++ b/configure.in	Fri Dec 01 20:26:06 2006 +0000
     1.3 @@ -124,7 +124,14 @@
     1.4      fi
     1.5  
     1.6      dnl Checks for library functions.
     1.7 -    AC_FUNC_ALLOCA
     1.8 +    case "$host" in
     1.9 +    *-*-cygwin* | *-*-mingw32*)
    1.10 +        ;;
    1.11 +    *)
    1.12 +        AC_FUNC_ALLOCA
    1.13 +        ;;
    1.14 +    esac
    1.15 +
    1.16      AC_FUNC_MEMCMP
    1.17      if test x$ac_cv_func_memcmp_working = xyes; then
    1.18          AC_DEFINE(HAVE_MEMCMP)