changeset 5040:ff8873816c30

Fixed test for libiconv
author Sam Lantinga <slouken@libsdl.org>
date Wed, 19 Jan 2011 15:02:11 -0800
parents fc26fb7e20af
children 3ce345cc46f8
files configure.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Wed Jan 19 13:50:53 2011 -0800
+++ b/configure.in	Wed Jan 19 15:02:11 2011 -0800
@@ -240,7 +240,7 @@
     AC_CHECK_LIB(m, pow, [LIBS="$LIBS -lm"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm"])
     AC_CHECK_FUNCS(atan atan2 ceil copysign cos cosf fabs floor log pow scalbn sin sinf sqrt)
 
-    AC_CHECK_LIB(iconv, libiconv_open, [LIBS="$LIBS -liconv"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv"])
+    AC_CHECK_LIB(iconv, iconv_open, [LIBS="$LIBS -liconv"; EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv"])
     AC_CHECK_FUNCS(iconv)
 fi