2005-09-21 [colin] 1.9.14cvs46
[claws.git] / configure.ac
index 1b6c8f52e5da36e7c2606e8d227a2899bbb4a0cb..c588412a6eb206741d8b4b39dd27a71911beb82a 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=14
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=28
+EXTRA_VERSION=46
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
@@ -726,7 +726,7 @@ if test x"$ac_cv_enable_libetpan" = xyes; then
          if test "x$libetpan_result" = "xyes"; then
            AC_MSG_CHECKING([whether libetpan-config hints compiles and links fine])
            LDFLAGS="$LDFLAGS `$libetpanconfig --libs 2>/dev/null`"
-           AC_TRY_LINK([], [db_mailstorage_init();], [libetpan_result=yes], [libetpan_result=no])
+           AC_TRY_LINK([#include <libetpan/dbstorage.h>], [db_mailstorage_init(NULL, NULL);], [libetpan_result=yes], [libetpan_result=no])
            AC_MSG_RESULT([$libetpan_result])
          fi
        fi
@@ -734,8 +734,8 @@ if test x"$ac_cv_enable_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 "038"; then
-               AC_MSG_ERROR([Sylpheed requires libetpan 0.38 or newer. See http://www.etpan.org/])
+          if test "$LIBETPAN_VERSION" -lt "039"; then
+               AC_MSG_ERROR([Sylpheed requires libetpan 0.39 or newer. See http://www.etpan.org/])
                AC_MSG_ERROR([You can use --disable-libetpan if you don't need IMAP4 support.])
           fi
           AC_SUBST(LIBETPAN_FLAGS)