Mercurial > mplayer.hg
comparison configure @ 7183:6f7ae14f29a8
generalized iconv detection
author | atmos4 |
---|---|
date | Sat, 31 Aug 2002 02:13:20 +0000 |
parents | c672c79cb396 |
children | 32fcb4422cbb |
comparison
equal
deleted
inserted
replaced
7182:0bfd137f492a | 7183:6f7ae14f29a8 |
---|---|
3585 ; | 3585 ; |
3586 } | 3586 } |
3587 } | 3587 } |
3588 EOF | 3588 EOF |
3589 _iconv=no | 3589 _iconv=no |
3590 if freebsd || bsdos || openbsd ; then | 3590 if cc_check -lm -liconv ; then |
3591 cc_check -lm -liconv && _iconv=yes | 3591 _iconv=yes |
3592 else | 3592 else |
3593 cc_check -lm && _iconv=yes | 3593 cc_check -lm && _iconv=yes |
3594 fi | 3594 fi |
3595 fi | 3595 fi |
3596 if test "$_iconv" = yes ; then | 3596 if test "$_iconv" = yes ; then |
3597 _def_iconv='#define USE_ICONV 1' | 3597 _def_iconv='#define USE_ICONV 1' |
3598 freebsd && _ld_iconv='-liconv' | 3598 linux || _ld_iconv='-liconv' |
3599 bsdos && _ld_iconv='-liconv' | |
3600 openbsd && _ld_iconv='-liconv' | |
3601 else | 3599 else |
3602 _def_iconv='#undef USE_ICONV' | 3600 _def_iconv='#undef USE_ICONV' |
3603 fi | 3601 fi |
3604 echores "$_iconv" | 3602 echores "$_iconv" |
3605 | 3603 |