From 3ade51889174b9688aaaa4e1fe3120e36b2268d3 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Wed, 20 Jun 2012 11:57:03 +0100 Subject: [PATCH] better config messages for tiff and png final config output msg is better if .pc files are not found --- configure.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index d34ea075..f6dbb025 100644 --- a/configure.in +++ b/configure.in @@ -550,7 +550,8 @@ if test x"$with_tiff" != "xno"; then [AC_DEFINE(HAVE_TIFF,1,[define if you have libtiff installed.]) with_tiff=yes PACKAGES_USED="$PACKAGES_USED libtiff-4"], - [FIND_TIFF(, + [FIND_TIFF( + with_tiff=yes, [AC_MSG_WARN([libtiff not found; disabling TIFF support]) with_tiff=no ]) @@ -566,7 +567,8 @@ if test x"$with_png" != "xno"; then [AC_DEFINE(HAVE_PNG,1,[define if you have libpng installed.]) with_png=yes PACKAGES_USED="$PACKAGES_USED libpng"], - [FIND_PNG(, + [FIND_PNG( + with_png=yes, [AC_MSG_WARN([libpng not found; disabling PNG support]) with_png=no ])