Mercurial > geeqie.yaz
diff configure.in @ 192:d324b284e183
configure --without-exiv2
author | nadvornik |
---|---|
date | Sat, 22 Mar 2008 17:09:14 +0000 |
parents | 0ca3b4c8ffae |
children | d85687d951aa |
line wrap: on
line diff
--- a/configure.in Sat Mar 22 16:43:59 2008 +0000 +++ b/configure.in Sat Mar 22 17:09:14 2008 +0000 @@ -49,17 +49,21 @@ else have_lcms="no (lcms support disabled)" fi - - -PKG_CHECK_MODULES(EXIV2, exiv2 >= 0.11, - [ have_exiv2=yes - AC_DEFINE(HAVE_EXIV2, 1, have exiv2) ], - [ have_exiv2=no - AC_MSG_RESULT($EXIV2_PKG_ERRORS) ] ) - AC_SUBST(LCMS_LIBS) AM_CONDITIONAL(HAVE_LCMS, test "$have_lcms" = "yes") +AC_ARG_WITH(exiv2, [ --without-exiv2 build without exiv2 support]) + +have_exiv2=no + +if test "x$with_exiv2" != "xno"; then + PKG_CHECK_MODULES(EXIV2, exiv2 >= 0.11, + [ have_exiv2=yes + AC_DEFINE(HAVE_EXIV2, 1, have exiv2) ], + [ AC_MSG_RESULT($EXIV2_PKG_ERRORS) ] ) +fi + + ALL_LINGUAS="ar be bg ca cs da de eo es et eu fi fr hu id it ja ko nl no pl pt_BR ro ru sk sl sv th tr uk vi zh_CN.GB2312 zh_TW" GETTEXT_PACKAGE=$PACKAGE AC_SUBST(GETTEXT_PACKAGE)