[gtk+/gtk-2-22] Fix libjasper test



commit 2aa560865e2b2ef34e24f772310fbf2ad26de71d
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 22 00:29:58 2010 -0400

    Fix libjasper test
    
    This was reported in bug 551322.
    (cherry picked from commit 8e315466b98ddbc98153a54252c9d3c4458cc6c2)

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 90b589a..9f41c47 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]