Fix libjasper test
This was reported in bug 551322. (cherry picked from commit 8e315466b98ddbc98153a54252c9d3c4458cc6c2)
This commit is contained in:
@ -954,7 +954,7 @@ dnl Test for libpng
|
|||||||
|
|
||||||
dnl Test for libjasper
|
dnl Test for libjasper
|
||||||
if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then
|
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
|
fi
|
||||||
|
|
||||||
if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then
|
if test x$with_libjasper = xyes && test -z "$LIBJASPER"; then
|
||||||
|
Reference in New Issue
Block a user