# HG changeset patch # User Sam Lantinga # Date 1151338866 0 # Node ID 364df7679e6bd3787e7d2773933fd431e339ce01 # Parent b025e419d344378864bd31bee1ba2eae7da23f22 Fixed libiconv detection diff -r b025e419d344 -r 364df7679e6b configure.in --- a/configure.in Mon Jun 26 16:15:36 2006 +0000 +++ b/configure.in Mon Jun 26 16:21:06 2006 +0000 @@ -135,6 +135,7 @@ fi 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) + AC_CHECK_LIB(iconv, libiconv_open, [EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv"]) AC_CHECK_LIB(m, pow, [EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"]) fi