# HG changeset patch # User Ryan C. Gordon # Date 1165004766 0 # Node ID 3a7248359cdd2c898d09769391635bca5b3ebde2 # Parent ce3a2bd11305156829c1caaaa1f436f9ce498146 Merge r2921:2922 from SDL trunk to 1.2 branch: mingw alloca.h workaround. diff -r ce3a2bd11305 -r 3a7248359cdd configure.in --- a/configure.in Wed Nov 29 10:30:05 2006 +0000 +++ b/configure.in Fri Dec 01 20:26:06 2006 +0000 @@ -124,7 +124,14 @@ fi dnl Checks for library functions. - AC_FUNC_ALLOCA + case "$host" in + *-*-cygwin* | *-*-mingw32*) + ;; + *) + AC_FUNC_ALLOCA + ;; + esac + AC_FUNC_MEMCMP if test x$ac_cv_func_memcmp_working = xyes; then AC_DEFINE(HAVE_MEMCMP)