2005-07-04 [colin] 1.9.12cvs13
[claws.git] / configure.ac
index dc0da0a90975385ff6c1132b7c5ac7fb10874960..8e8d61d4b46098a6cb565e7b556a687278249dcb 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=12
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=12
+EXTRA_VERSION=13
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
@@ -629,8 +629,12 @@ fi
 if test "x$libetpan" = "xyes"; then
    LIBETPAN_CPPFLAGS="`$libetpanconfig --cflags`"
    LIBETPAN_LIBS="`$libetpanconfig --libs`"
+   LIBETPAN_VERSION=`$libetpanconfig --version | sed "s/\.//g" | sed "s/-.*$//"`
+   if test "$LIBETPAN_VERSION" -lt "037"; then
+       AC_MSG_ERROR([Sylpheed requires libetpan 0.37 or newer. See http://www.etpan.org/])
+   fi
 else
-   AC_MSG_ERROR([Sylpheed requires libetpan.])
+   AC_MSG_ERROR([Sylpheed requires libetpan 0.37 or newer. See http://www.etpan.org/ ])
 fi
 
 AC_SUBST(LIBETPAN_FLAGS)