diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-03-07 15:13:33 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-03-07 15:13:33 +0100 |
commit | ffa6ff7ca44f718f9f65cc5516952766e379e65f (patch) | |
tree | c9b9dfb207a9d36c21e5203d824e0b4b9491a158 | |
parent | 51a8f94ec602bb7bd7c06f852ac66a2de58fcc5d (diff) | |
download | totem-pl-parser-ffa6ff7ca44f718f9f65cc5516952766e379e65f.tar.gz |
build: Add support for gmime 3.0
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 425f79d..410051f 100644 --- a/configure.ac +++ b/configure.ac @@ -88,6 +88,13 @@ if test "x$enable_gmime" = "xyes" ; then [have_gmime=yes GMIME=gmime-2.6], [have_gmime=no]) + if test "x$have_gmime" = "xno" ; then + PKG_CHECK_MODULES(GMIME, + gmime-3.0, + [have_gmime=yes GMIME=gmime-3.0], + [have_gmime=no]) + fi + if test "x$have_gmime" = "xyes" ; then AC_SUBST(GMIME, $GMIME) AC_SUBST(USEGMIME, yes) |