2006-08-27 [colin] 2.4.0cvs98
[claws.git] / configure.ac
index c64e0e0c891d2b06e8de909d8018c372794988b9..25fb26f50244a6fbddf07af406c444ab17aa41f4 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=4
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=27
+EXTRA_VERSION=98
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
@@ -299,7 +299,7 @@ dnl ** common code **
 dnl *****************
 
 dnl check for glib
-AM_PATH_GLIB_2_0(2.0.0,,
+AM_PATH_GLIB_2_0(2.6.0,,
        AC_MSG_ERROR(Test for GLIB failed. See the file 'INSTALL' for help.),
        gmodule gobject gthread)
 
@@ -389,7 +389,7 @@ dnl ** GTK user interface **
 dnl ************************
 
 dnl Checks for GTK
-AM_PATH_GTK_2_0(2.4.0,,
+AM_PATH_GTK_2_0(2.6.0,,
        AC_MSG_ERROR(Test for GTK failed. See the file 'INSTALL' for help.))
 
 dnl --disable-deprecated switch for GTK2 purification
@@ -643,6 +643,20 @@ else
 fi
 AM_CONDITIONAL(BUILD_SPAMASSASSIN_PLUGIN, test x"$ac_cv_enable_spamassassin_plugin" = xyes)
 
+dnl --- Bogofilter ---
+AC_MSG_CHECKING([whether to build Bogofilter plugin])
+AC_ARG_ENABLE(bogofilter-plugin,
+       [  --disable-bogofilter-plugin      Build bogofilter plugin [default=yes]],
+       [ac_cv_enable_bogofilter_plugin=$enableval], [ac_cv_enable_bogofilter_plugin=yes])
+if test x"$ac_cv_enable_bogofilter_plugin" = xyes; then
+       AC_MSG_RESULT(yes)
+       PLUGINS="bogofilter $PLUGINS"
+       AC_DEFINE(USE_BOGOFILTER_PLUGIN, 1, Define if bogofilter plugin is being build.)
+else
+       AC_MSG_RESULT(no)
+fi
+AM_CONDITIONAL(BUILD_BOGOFILTER_PLUGIN, test x"$ac_cv_enable_bogofilter_plugin" = xyes)
+
 dnl --- PGP/CORE ---
 AC_MSG_CHECKING([whether to build PGP/CORE plugin])
 AC_ARG_ENABLE(pgpcore-plugin,
@@ -768,18 +782,18 @@ 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 "045"; then
-               AC_MSG_RESULT([*** Sylpheed requires libetpan 0.45 or newer. See http://www.etpan.org/])
+          if test "$LIBETPAN_VERSION" -lt "046"; then
+               AC_MSG_RESULT([*** Sylpheed requires libetpan 0.46 or newer. See http://www.etpan.org/])
                AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 support.])
-                AC_MSG_ERROR([libetpan 0.45 not found])
+                AC_MSG_ERROR([libetpan 0.46 not found])
           fi
           AC_SUBST(LIBETPAN_FLAGS)
           AC_SUBST(LIBETPAN_LIBS)
           AC_DEFINE(HAVE_LIBETPAN, 1, Define if you want IMAP support.)
        else
-          AC_MSG_RESULT([*** Sylpheed requires libetpan 0.45 or newer. See http://www.etpan.org/ ])
+          AC_MSG_RESULT([*** Sylpheed requires libetpan 0.46 or newer. See http://www.etpan.org/ ])
           AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 support.])
-           AC_MSG_ERROR([libetpan 0.45 not found])
+           AC_MSG_ERROR([libetpan 0.46 not found])
        fi
 else
        AC_MSG_RESULT(no)
@@ -824,6 +838,7 @@ src/gtk/Makefile
 src/etpan/Makefile
 src/plugins/Makefile
 src/plugins/demo/Makefile
+src/plugins/bogofilter/Makefile
 src/plugins/spamassassin/Makefile
 src/plugins/dillo_viewer/Makefile
 src/plugins/trayicon/Makefile
@@ -855,6 +870,12 @@ manual/pl/dist/pdf/Makefile
 manual/pl/dist/ps/Makefile
 manual/pl/dist/html/Makefile
 manual/pl/dist/txt/Makefile
+manual/es/Makefile
+manual/es/dist/Makefile
+manual/es/dist/pdf/Makefile
+manual/es/dist/ps/Makefile
+manual/es/dist/html/Makefile
+manual/es/dist/txt/Makefile
 sylpheed-claws.pc
 ])