comparison configure.in @ 3405:d5f2dd33f4eb

Merged improvements to SDL_SoftStretch() from SDL 1.2
author Sam Lantinga <slouken@libsdl.org>
date Sun, 18 Oct 2009 17:49:40 +0000
parents 2b0a3b2f2fc6
children 1756b9569141
comparison
equal deleted inserted replaced
3404:c9dcc73f6a36 3405:d5f2dd33f4eb
202 fi 202 fi
203 AC_FUNC_STRTOD 203 AC_FUNC_STRTOD
204 if test x$ac_cv_func_strtod = xyes; then 204 if test x$ac_cv_func_strtod = xyes; then
205 AC_DEFINE(HAVE_STRTOD) 205 AC_DEFINE(HAVE_STRTOD)
206 fi 206 fi
207 AC_CHECK_FUNC(mprotect,
208 AC_TRY_COMPILE([
209 #include <sys/types.h>
210 #include <sys/mman.h>
211 ],[
212 ],[
213 AC_DEFINE(HAVE_MPROTECT)
214 ]),
215 )
207 AC_CHECK_FUNCS(malloc calloc realloc free getenv putenv unsetenv qsort abs bcopy memset memcpy memmove strlen strlcpy strlcat strdup _strrev _strupr _strlwr strchr strrchr strstr itoa _ltoa _uitoa _ultoa strtol strtoul _i64toa _ui64toa strtoll strtoull atoi atof strcmp strncmp _stricmp strcasecmp _strnicmp strncasecmp sscanf snprintf vsnprintf sigaction setjmp nanosleep) 216 AC_CHECK_FUNCS(malloc calloc realloc free getenv putenv unsetenv qsort abs bcopy memset memcpy memmove strlen strlcpy strlcat strdup _strrev _strupr _strlwr strchr strrchr strstr itoa _ltoa _uitoa _ultoa strtol strtoul _i64toa _ui64toa strtoll strtoull atoi atof strcmp strncmp _stricmp strcasecmp _strnicmp strncasecmp sscanf snprintf vsnprintf sigaction setjmp nanosleep)
208 217
209 AC_CHECK_LIB(m, pow, [LIBS="$LIBS -lm"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"]) 218 AC_CHECK_LIB(m, pow, [LIBS="$LIBS -lm"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"])
210 AC_CHECK_FUNCS(ceil copysign cos cosf fabs floor log pow scalbn sin sinf sqrt) 219 AC_CHECK_FUNCS(ceil copysign cos cosf fabs floor log pow scalbn sin sinf sqrt)
211 220