diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-31 02:13:20 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-31 02:13:20 +0000 |
commit | 525f9ea64c1aef5f52194d17c44cf55f50c49b20 (patch) | |
tree | 67726692f6c3a86bc9b6fc808196159a8dcd7d3c | |
parent | d8a6e3891e0690769453392461c52dd59fdbb55a (diff) | |
download | mpv-525f9ea64c1aef5f52194d17c44cf55f50c49b20.tar.bz2 mpv-525f9ea64c1aef5f52194d17c44cf55f50c49b20.tar.xz |
generalized iconv detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7184 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | configure | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -3587,17 +3587,15 @@ int main(void) { } 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 |