mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
configure: add optional support for gmime-3.0
This is only the changes to make configure work; it won't compile with gmime-3.0 yet.
This commit is contained in:
parent
51cf6dbab2
commit
6977316a5f
1 changed files with 7 additions and 2 deletions
9
configure
vendored
9
configure
vendored
|
@ -484,8 +484,13 @@ fi
|
||||||
GMIME_MINVER=2.6.7
|
GMIME_MINVER=2.6.7
|
||||||
|
|
||||||
printf "Checking for GMime development files... "
|
printf "Checking for GMime development files... "
|
||||||
if pkg-config --exists "gmime-2.6 >= $GMIME_MINVER"; then
|
if pkg-config --exists "gmime-3.0"; then
|
||||||
printf "Yes.\n"
|
printf "Yes (3.0).\n"
|
||||||
|
have_gmime=1
|
||||||
|
gmime_cflags=$(pkg-config --cflags gmime-3.0)
|
||||||
|
gmime_ldflags=$(pkg-config --libs gmime-3.0)
|
||||||
|
elif pkg-config --exists "gmime-2.6 >= $GMIME_MINVER"; then
|
||||||
|
printf "Yes (2.6).\n"
|
||||||
have_gmime=1
|
have_gmime=1
|
||||||
gmime_cflags=$(pkg-config --cflags gmime-2.6)
|
gmime_cflags=$(pkg-config --cflags gmime-2.6)
|
||||||
gmime_ldflags=$(pkg-config --libs gmime-2.6)
|
gmime_ldflags=$(pkg-config --libs gmime-2.6)
|
||||||
|
|
Loading…
Reference in a new issue