From 4db513dddb5d1ff61cd5ad18a2f2b85ca8aded20 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Tue, 11 May 2004 16:16:52 +0000 Subject: check for main in libiconv, cause it doesn't define iconv_open, but libiconv_open git-svn-id: https://svn.musicpd.org/mpd/trunk@991 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b6b9c0c72..c7dab52e8 100644 --- a/configure.ac +++ b/configure.ac @@ -150,7 +150,7 @@ if test x$enable_iconv = xyes; then CPPFLAGS=$CFLAGS AC_CHECK_HEADER(iconv.h,MPD_CFLAGS="$MPD_CFLAGS $ICONV_CFLAGS",enable_iconv=no) if test x$enable_iconv = xyes; then - AC_CHECK_LIB(iconv,iconv_open,MPD_LIBS="$MPD_LIBS $ICONV_LIBS",) + AC_CHECK_LIB(iconv,main,MPD_LIBS="$MPD_LIBS $ICONV_LIBS",) AC_DEFINE(HAVE_ICONV,1,[Define to use iconv]) fi CFLAGS=$oldcflags -- cgit v1.2.3