From 81c188be2aa47e3026642a414bd434ee871baed3 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 26 Jun 2006 16:20:51 +0000 Subject: [PATCH] Fixed libiconv detection --- configure.in | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.in b/configure.in index f8b78fc12..79cac877f 100644 --- a/configure.in +++ b/configure.in @@ -135,6 +135,7 @@ if test x$enable_libc = xyes; then 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