Fix libjasper test

This was reported in bug 551322.
This commit is contained in:
Matthias Clasen
2010-05-22 00:29:58 -04:00
parent 94abf4733f
commit 8e315466b9

View File

@ -943,7 +943,7 @@ dnl Test for libpng
dnl Test for libjasper
if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then
AC_CHECK_LIB(jasper, jas_init, LIBJASPER=-ljasper, [], -ljpeg)
AC_CHECK_LIB(jasper, jas_init, LIBJASPER=-ljasper, [], -ljpeg -lm)
fi
if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then