Mercurial > mplayer.hg
diff configure @ 7183:6f7ae14f29a8
generalized iconv detection
author | atmos4 |
---|---|
date | Sat, 31 Aug 2002 02:13:20 +0000 |
parents | c672c79cb396 |
children | 32fcb4422cbb |
line wrap: on
line diff
--- a/configure Sat Aug 31 01:44:54 2002 +0000 +++ b/configure Sat Aug 31 02:13:20 2002 +0000 @@ -3587,17 +3587,15 @@ } EOF _iconv=no - if freebsd || bsdos || openbsd ; then - cc_check -lm -liconv && _iconv=yes + if cc_check -lm -liconv ; then + _iconv=yes else cc_check -lm && _iconv=yes fi fi if test "$_iconv" = yes ; then _def_iconv='#define USE_ICONV 1' - freebsd && _ld_iconv='-liconv' - bsdos && _ld_iconv='-liconv' - openbsd && _ld_iconv='-liconv' + linux || _ld_iconv='-liconv' else _def_iconv='#undef USE_ICONV' fi