comparison configure.in @ 1891:40b43a80adb5

Fixed libiconv detection
author Sam Lantinga <slouken@libsdl.org>
date Mon, 26 Jun 2006 16:20:51 +0000
parents 2c22f1351941
children c121d94672cb cef30206da53
comparison
equal deleted inserted replaced
1890:2c22f1351941 1891:40b43a80adb5
133 if test x$ac_cv_func_strtod = xyes; then 133 if test x$ac_cv_func_strtod = xyes; then
134 AC_DEFINE(HAVE_STRTOD) 134 AC_DEFINE(HAVE_STRTOD)
135 fi 135 fi
136 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) 136 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)
137 137
138 AC_CHECK_LIB(iconv, libiconv_open, [EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv"])
138 AC_CHECK_LIB(m, pow, [EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"]) 139 AC_CHECK_LIB(m, pow, [EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"])
139 fi 140 fi
140 141
141 if test x$have_inttypes != xyes; then 142 if test x$have_inttypes != xyes; then
142 AC_CHECK_SIZEOF(char, 1) 143 AC_CHECK_SIZEOF(char, 1)