dnl version number
MAJOR_VERSION=0
MINOR_VERSION=9
-MICRO_VERSION=6
+MICRO_VERSION=7
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=58
+EXTRA_VERSION=29
if test $EXTRA_VERSION -eq 0; then
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
else
AC_MSG_RESULT(no)
fi
+dnl Check for d_type member in struct dirent
+AC_MSG_CHECKING([whether struct dirent has d_type member])
+AC_CACHE_VAL(ac_cv_dirent_d_type,[
+ AC_TRY_COMPILE([#include <dirent.h>],
+ [struct dirent d; d.d_type = DT_REG;],
+ ac_cv_dirent_d_type=yes, ac_cv_dirent_d_type=no)
+])
+AC_MSG_RESULT($ac_cv_dirent_d_type)
+if test $ac_cv_dirent_d_type = yes; then
+ AC_DEFINE(HAVE_DIRENT_D_TYPE, 1,
+ Define if `struct dirent' has `d_type' member.)
+fi
+
dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_ARG_ENABLE(compface,
[ --disable-compface Do not use compface (X-Face)],
[ac_cv_enable_compface=$enableval], [ac_cv_enable_compface=yes])
-if test "$ac_cv_enable_compface" = yes; then
- AC_CHECK_LIB(compface, uncompface,,[ac_cv_enable_compface=no])
+AC_MSG_CHECKING([whether to use compface])
+if test x"$ac_cv_enable_compface" = xyes; then
+ AC_MSG_RESULT(yes)
+ AC_CHECK_LIB(compface, uncompface,
+ [AC_DEFINE(HAVE_LIBCOMPFACE, 1, Define if you want compface support.)],
+ [ac_cv_enable_compface=no])
+ if test x"$ac_cv_enable_compface" = xyes; then
+ COMPFACE_LIBS="-lcompface"
+ else
+ COMPFACE_LIBS=""
+ fi
+ AC_SUBST(COMPFACE_LIBS)
+else
+ AC_MSG_RESULT(no)
fi
dnl for LDAP support in addressbook
[ ac_cv_enable_jpilot=yes
AC_DEFINE(USE_JPILOT, 1, Define if you want JPilot support in addressbook.) ])
fi
- AC_MSG_CHECKING([whether jpilot is available])
- AC_MSG_RESULT($ac_cv_enable_jpilot)
- if test "$ac_cv_enable_jpilot" = yes; then
- LIBS="$LIBS -lpisock"
+ AC_CHECK_LIB(pisock, unpack_Address, [JPILOT_LIBS="-lpisock"], [JPILOT_LIBS="" ac_cv_enable_jpilot="no"])
+ if test x"$ac_cv_enable_jpilot" = xyes; then
+ AC_DEFINE(USE_JPILOT, 1, Define if you want JPilot support in addressbook.)
+ else
+ AC_MSG_NOTICE([JPilot support not available])
fi
+ AC_SUBST(JPILOT_LIBS)
else
AC_MSG_RESULT(no)
fi
src/plugins/trayicon/Makefile
src/plugins/trayicon/libeggtrayicon/Makefile
src/plugins/clamav/Makefile
-faq/Makefile
-faq/de/Makefile
-faq/en/Makefile
-faq/es/Makefile
-faq/fr/Makefile
-faq/it/Makefile
-man/Makefile
-manual/Makefile
-manual/de/Makefile
-manual/en/Makefile
-manual/es/Makefile
-manual/fr/Makefile
-manual/ja/Makefile
+doc/Makefile
+doc/faq/Makefile
+doc/faq/de/Makefile
+doc/faq/en/Makefile
+doc/faq/es/Makefile
+doc/faq/fr/Makefile
+doc/faq/it/Makefile
+doc/man/Makefile
+doc/manual/Makefile
+doc/manual/de/Makefile
+doc/manual/en/Makefile
+doc/manual/es/Makefile
+doc/manual/fr/Makefile
+doc/manual/ja/Makefile
tools/Makefile
config/Makefile
sylpheed-claws.pc