# HG changeset patch # User arpi # Date 1015805585 0 # Node ID 16f28fb341a1befe549ac6104981177b02352a41 # Parent d7118bee3c1b2418b5cddfb506a4cf21c28778ec libjpeg detection cleanup diff -r d7118bee3c1b -r 16f28fb341a1 configure --- 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'