Check if -liconv is needed for iconv.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13100 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
wight 2004-08-23 07:51:10 +00:00
parent 8d2a80047b
commit c3bf08597d
1 changed files with 3 additions and 3 deletions

6
configure vendored
View File

@ -2097,11 +2097,11 @@ int main(void) {
} }
EOF EOF
_iconv=no _iconv=no
if cc_check -lm -liconv ; then if cc_check -lm ; then
_iconv=yes
elif cc_check -lm -liconv ; then
_iconv=yes _iconv=yes
_ld_iconv='-liconv' _ld_iconv='-liconv'
else
cc_check -lm && _iconv=yes
fi fi
fi fi
if test "$_iconv" = yes ; then if test "$_iconv" = yes ; then