dnl version number
MAJOR_VERSION=2
MINOR_VERSION=9
-MICRO_VERSION=1
+MICRO_VERSION=2
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=25
+EXTRA_VERSION=76
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
CFLAGS="$CFLAGS -mms-bitfields"
LIBS="$LIBS -l${pthread_name} -lws2_32 -lregex"
;;
+*-sun-solaris2.8)
+ CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
+ CFLAGS="$CFLAGS -DSOLARIS"
+ ;;
esac
dnl Checks for iconv
dnl *****************
dnl check for glib
-AM_PATH_GLIB_2_0(2.6.0,,
- AC_MSG_ERROR(Test for GLIB failed. See the file 'INSTALL' for help.),
- gmodule gobject gthread)
+PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.6 gmodule-2.0 >= 2.6 gobject-2.0 >= 2.6 gthread-2.0 >= 2.6)
+
+GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
+AC_SUBST(GLIB_GENMARSHAL)
+
+AC_SUBST(GLIB_CFLAGS)
+AC_SUBST(GLIB_LIBS)
dnl Check for bind_textdomain_codeset, including -lintl if GLib brings it in.
syl_save_LIBS=$LIBS
dnl ************************
dnl Checks for GTK
-AM_PATH_GTK_2_0(2.6.0,,
- AC_MSG_ERROR(Test for GTK failed. See the file 'INSTALL' for help.))
+PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.6)
dnl --disable-deprecated switch for GTK2 purification
AC_ARG_ENABLE(deprecated, [ --disable-deprecated Disable deprecated GTK functions. ],
[ --enable-maemo Build for the Maemo platform [default=no]],
[ac_cv_enable_maemo=$enableval], [ac_cv_enable_maemo=no])
if test $ac_cv_enable_maemo = yes; then
- PKG_CHECK_MODULES(MAEMO, libosso hildon-libs, ac_cv_enable_maemo=yes,
+ PKG_CHECK_MODULES(MAEMO, libosso hildon-libs hildon-fm, ac_cv_enable_maemo=yes,
ac_cv_enable_maemo=no)
AC_SUBST(MAEMO_CFLAGS)
AC_SUBST(MAEMO_LIBS)
if test $ac_cv_enable_maemo = no; then
- AC_MSG_ERROR(libosso or hildon-libs not found)
+ AC_MSG_ERROR(libosso, hildon-libs or hildon-fm not found)
else
AC_DEFINE(MAEMO, 1, Build for maemo)
fi
AC_MSG_RESULT(yes)
AC_SPAMASSASSIN
PLUGINS="spamassassin $PLUGINS"
- AC_DEFINE(USE_SPAMASSASSIN_PLUGIN, 1, Define if spamassassin plugin is being build.)
+ AC_DEFINE(USE_SPAMASSASSIN_PLUGIN, 1, Define if spamassassin plugin is being built.)
else
AC_MSG_RESULT(no)
fi
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.)
+ AC_DEFINE(USE_BOGOFILTER_PLUGIN, 1, Define if bogofilter plugin is being built.)
else
AC_MSG_RESULT(no)
fi
LIBETPAN_CPPFLAGS="`$libetpanconfig --cflags`"
LIBETPAN_LIBS="`$libetpanconfig --libs`"
LIBETPAN_VERSION=`$libetpanconfig --version | sed "s/\.//g" | sed "s/-.*$//"`
- if test "$LIBETPAN_VERSION" -lt "048"; then
- AC_MSG_RESULT([*** Claws Mail requires libetpan 0.48 or newer. See http://www.etpan.org/])
+ if test "$LIBETPAN_VERSION" -lt "049"; then
+ AC_MSG_RESULT([*** Claws Mail requires libetpan 0.49 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.48 not found])
+ AC_MSG_ERROR([libetpan 0.49 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([*** Claws Mail requires libetpan 0.48 or newer. See http://www.etpan.org/ ])
+ AC_MSG_RESULT([*** Claws Mail requires libetpan 0.49 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.48 not found])
+ AC_MSG_ERROR([libetpan 0.49 not found])
fi
else
AC_MSG_RESULT(no)