MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=100
+EXTRA_VERSION=186
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
AC_MSG_RESULT([$os_win32])
AM_CONDITIONAL(OS_WIN32, test x"$os_win32" = x"yes")
+AC_MSG_CHECKING([for Cygwin])
+case "$host" in
+ *-*-cygwin*)
+ env_cygwin=yes
+ ;;
+ *)
+ env_cygwin=no
+ ;;
+esac
+AC_MSG_RESULT([$env_cygwin])
+AM_CONDITIONAL(CYGWIN, test x"$env_cygwin" = x"yes")
+
CFLAGS="$CFLAGS -Wall"
pthread_name=
AC_CHECK_HEADER(libetpan/libetpan.h, [libetpan_result=yes])
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`"
+ LIBS="$LIBS `$libetpanconfig --libs 2>/dev/null`"
AC_TRY_LINK([#include <libetpan/dbstorage.h>], [db_mailstorage_init(NULL, NULL);], [libetpan_result=yes], [libetpan_result=no])
AC_MSG_RESULT([$libetpan_result])
fi
LIBETPAN_CPPFLAGS="`$libetpanconfig --cflags`"
LIBETPAN_LIBS="`$libetpanconfig --libs`"
LIBETPAN_VERSION=`$libetpanconfig --version | sed "s/\.//g" | sed "s/-.*$//"`
- if test "$LIBETPAN_VERSION" -lt "041"; then
- AC_MSG_RESULT([*** Sylpheed requires libetpan 0.41 or newer. See http://www.etpan.org/])
+ if test "$LIBETPAN_VERSION" -lt "045"; then
+ AC_MSG_RESULT([*** Sylpheed requires libetpan 0.45 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.41 not found])
+ AC_MSG_ERROR([libetpan 0.45 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.41 or newer. See http://www.etpan.org/ ])
+ AC_MSG_RESULT([*** Sylpheed requires libetpan 0.45 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.41 not found])
+ AC_MSG_ERROR([libetpan 0.45 not found])
fi
else
AC_MSG_RESULT(no)