Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 314181 | Differences between
and this patch

Collapse All | Expand All

(-)configure.ac (-4 / +12 lines)
Lines 973-983 if test x"$ac_cv_enable_libetpan" = xyes Link Here
973
	if test "x$libetpan_result" = "xyes"; then
973
	if test "x$libetpan_result" = "xyes"; then
974
	   LIBETPAN_CPPFLAGS="`$libetpanconfig --cflags`"
974
	   LIBETPAN_CPPFLAGS="`$libetpanconfig --cflags`"
975
	   LIBETPAN_LIBS="`$libetpanconfig --libs`"
975
	   LIBETPAN_LIBS="`$libetpanconfig --libs`"
976
	   LIBETPAN_VERSION=`$libetpanconfig --version | sed "s/\.//g" | sed "s/-.*$//"`
976
	   AC_MSG_CHECKING([whether libetpan is version 0.57 or newer])
977
	   if test "$LIBETPAN_VERSION" -lt "057"; then
977
	   LIBETPAN_VERSION=`$libetpanconfig --version | sed 's/-.*$//'`
978
	   LIBETPAN_VERSION_MAJOR=`echo "$LIBETPAN_VERSION" | sed 's/^\(.\+\)\.\(.\+\)$/\1/'`
979
	   LIBETPAN_VERSION_MINOR=`echo "$LIBETPAN_VERSION" | sed 's/^\(.\+\)\.\(.\+\)$/\2/'`
980
	   if test "$LIBETPAN_VERSION_MAJOR" -gt "0"; then
981
		AC_MSG_RESULT([yes, version is $LIBETPAN_VERSION])
982
	   elif test "$LIBETPAN_VERSION_MINOR" -ge "57"; then
983
		AC_MSG_RESULT([yes, version is $LIBETPAN_VERSION])
984
	   else
985
		AC_MSG_RESULT([no, version is $LIBETPAN_VERSION])
978
		AC_MSG_RESULT([*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/])
986
		AC_MSG_RESULT([*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/])
979
		AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.])
987
		AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.])
980
                AC_MSG_ERROR([libetpan 0.57 not found])
988
		AC_MSG_ERROR([libetpan >= 0.57 not found])
981
	   fi
989
	   fi
982
	   AC_SUBST(LIBETPAN_FLAGS)
990
	   AC_SUBST(LIBETPAN_FLAGS)
983
	   AC_SUBST(LIBETPAN_LIBS)
991
	   AC_SUBST(LIBETPAN_LIBS)
Lines 985-991 if test x"$ac_cv_enable_libetpan" = xyes Link Here
985
	else
993
	else
986
	   AC_MSG_RESULT([*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/ ])
994
	   AC_MSG_RESULT([*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/ ])
987
	   AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.])
995
	   AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.])
988
           AC_MSG_ERROR([libetpan 0.57 not found])
996
	   AC_MSG_ERROR([libetpan >= 0.57 not found])
989
	fi
997
	fi
990
else
998
else
991
	AC_MSG_RESULT(no)
999
	AC_MSG_RESULT(no)

Return to bug 314181