From c9c53be3e5b6552237f41aee48f5b778efc801b7 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 26 Jun 2006 16:21:06 +0000 Subject: [PATCH] Fixed libiconv detection --- configure.in | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.in b/configure.in index a53d3ad29..d51abe4dc 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