In case required gmime (2.4 or 2.6) version if not found print information about both alternatives (and currently minimal 2.6 version that is needed). ---
I'm not entirely happy about the implementation but I would be less happy to write static message that has the same spesific version information in second place (third if comments are counted). configure | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 393f859..43c2436 100755 --- a/configure +++ b/configure @@ -402,7 +402,9 @@ EOF echo " http://xapian.org/" fi if [ $have_gmime -eq 0 ]; then - echo " GMime 2.4 library (including development files such as headers)" + _24v=${GMIME_24_VERSION#*2.4} _26v=${GMIME_26_VERSION#*2.6} + echo " Either GMime 2.4 library" $_24v "or GMime 2.6 library" $_26v + echo " (including development files such as headers)" echo " http://spruce.sourceforge.net/gmime/" echo fi -- 1.7.8.2