From 855b3c228efc08d60358072b5e710444f0fe0c25 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 15 Jul 2008 02:05:30 +0000 Subject: [PATCH] Add -ljpeg when checking for jasper. Reported by Mike Calmus * configure.in: Add -ljpeg when checking for jasper. Reported by Mike Calmus svn path=/trunk/; revision=20827 --- ChangeLog | 7 +++++++ configure.in | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 06dde05667..775cb69dce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-07-14 Matthias Clasen + + Bug 542853 – jasper test fails due to incomplete library arguments + + * configure.in: Add -ljpeg when checking for jasper. + Reported by Mike Calmus + 2008-07-14 Matthias Clasen * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek diff --git a/configure.in b/configure.in index 8c55debb6c..a5e1ca097e 100644 --- a/configure.in +++ b/configure.in @@ -898,7 +898,7 @@ dnl Test for libpng dnl Test for libjasper if test x$with_libjasper != xno && test -z "$LIBJASPER"; then - AC_CHECK_LIB(jasper, jas_init, LIBJASPER=-ljasper, []) + AC_CHECK_LIB(jasper, jas_init, LIBJASPER=-ljasper, [], -ljpeg) fi if test x$with_libjasper != xno && test -z "$LIBJASPER"; then