From 2aa560865e2b2ef34e24f772310fbf2ad26de71d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 22 May 2010 00:29:58 -0400 Subject: [PATCH] Fix libjasper test This was reported in bug 551322. (cherry picked from commit 8e315466b98ddbc98153a54252c9d3c4458cc6c2) --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 90b589a5e0..9f41c47da1 100644 --- a/configure.in +++ b/configure.in @@ -954,7 +954,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