changeset 1891:40b43a80adb5

Fixed libiconv detection
author Sam Lantinga <slouken@libsdl.org>
date Mon, 26 Jun 2006 16:20:51 +0000
parents 2c22f1351941
children c08abb88531b
files configure.in
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Mon Jun 26 16:15:21 2006 +0000
+++ b/configure.in	Mon Jun 26 16:20:51 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