Mercurial > mplayer.hg
changeset 5035:16f28fb341a1
libjpeg detection cleanup
author | arpi |
---|---|
date | Mon, 11 Mar 2002 00:13:05 +0000 |
parents | d7118bee3c1b |
children | 021a0b7bd55f |
files | configure |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sun Mar 10 23:55:36 2002 +0000 +++ b/configure Mon Mar 11 00:13:05 2002 +0000 @@ -1997,17 +1997,14 @@ if cc_check -ljpeg -lm ; then if "$TMPO" >> "$TMPLOG" ; then _jpg=yes - echores yes fi - else - echores no fi -else - echores "$_jpg" fi +echores "$_jpg" + if test "$_jpg" = yes ; then _def_jpg='#define HAVE_JPEG 1' - _ld_jpg='-ljpeg' + _ld_jpg="-ljpeg" _mkf_jpg="yes" else _def_jpg='#undef HAVE_JPEG'