[eog] Fix build without libjpeg
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] Fix build without libjpeg
- Date: Tue, 15 Jun 2010 15:49:12 +0000 (UTC)
commit 548e96ae2ef33d2ee58454cd00eab1a8e813f8e7
Author: Claudio Saavedra <csaavedra igalia com>
Date: Tue Jun 15 18:47:18 2010 +0300
Fix build without libjpeg
AM_CONDITIONAL calls should be called always, otherwise configure
gets confused.
Fixes bug #621616.
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9d7b0b1..967dc16 100644
--- a/configure.ac
+++ b/configure.ac
@@ -228,7 +228,6 @@ int main(int c, char**v) { return 0; }
have_libjpeg_80=yes],
[AC_MSG_RESULT(no)
have_libjpeg_80=no])
- AM_CONDITIONAL(HAVE_LIBJPEG_80, test "x$have_libjpeg_80" = xyes)
else
AC_MSG_WARN(*** JPEG loader will not be built (JPEG header file not found) ***)
@@ -244,6 +243,7 @@ int main(int c, char**v) { return 0; }
fi
AC_SUBST(LIBJPEG)
AM_CONDITIONAL(ENABLE_JPEG, test x$have_jpeg = xyes)
+AM_CONDITIONAL(HAVE_LIBJPEG_80, test "x$have_libjpeg_80" = xyes)
# ****************
# D-Bus activation
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]