comparison configure.in @ 4109:cd2ab40f1219 SDL-1.2

Made the mprotect() fix for SDL_SoftStretch() more general for hardened linux, etc.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 29 Dec 2007 05:18:33 +0000
parents 4867f7f7dd34
children 0c3559059d6d
comparison
equal deleted inserted replaced
4108:3feb94233f90 4109:cd2ab40f1219
14 # if backwards compatibility has been broken, 14 # if backwards compatibility has been broken,
15 # set SDL_BINARY_AGE and SDL_INTERFACE_AGE to 0. 15 # set SDL_BINARY_AGE and SDL_INTERFACE_AGE to 0.
16 # 16 #
17 SDL_MAJOR_VERSION=1 17 SDL_MAJOR_VERSION=1
18 SDL_MINOR_VERSION=2 18 SDL_MINOR_VERSION=2
19 SDL_MICRO_VERSION=12 19 SDL_MICRO_VERSION=13
20 SDL_INTERFACE_AGE=1 20 SDL_INTERFACE_AGE=2
21 SDL_BINARY_AGE=12 21 SDL_BINARY_AGE=13
22 SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION 22 SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION
23 23
24 AC_SUBST(SDL_MAJOR_VERSION) 24 AC_SUBST(SDL_MAJOR_VERSION)
25 AC_SUBST(SDL_MINOR_VERSION) 25 AC_SUBST(SDL_MINOR_VERSION)
26 AC_SUBST(SDL_MICRO_VERSION) 26 AC_SUBST(SDL_MICRO_VERSION)
144 fi 144 fi
145 AC_FUNC_STRTOD 145 AC_FUNC_STRTOD
146 if test x$ac_cv_func_strtod = xyes; then 146 if test x$ac_cv_func_strtod = xyes; then
147 AC_DEFINE(HAVE_STRTOD) 147 AC_DEFINE(HAVE_STRTOD)
148 fi 148 fi
149 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 iconv sigaction setjmp nanosleep) 149 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 iconv sigaction setjmp nanosleep mprotect)
150 150
151 AC_CHECK_LIB(iconv, libiconv_open, [EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv"]) 151 AC_CHECK_LIB(iconv, libiconv_open, [EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv"])
152 AC_CHECK_LIB(m, pow, [EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"]) 152 AC_CHECK_LIB(m, pow, [EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"])
153 fi 153 fi
154 154