better config messages for tiff and png

final config output msg is better if .pc files are not found
This commit is contained in:
John Cupitt 2012-06-20 11:57:03 +01:00
parent 8b290ac58e
commit 3ade518891
1 changed files with 4 additions and 2 deletions

View File

@ -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
])