AC_MSG_RESULT([found, adding /sw to search paths])
CPPFLAGS="$CPPFLAGS -I/sw/include"
LDFLAGS="$LDFLAGS -L/sw/lib"
else
AC_MSG_RESULT([not found])
fi
;;
*)
;;
esac
ALL_LINGUAS="af am ar az be@latin bg bn bs ca ca@valencia cs da de dz el en_AU en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hu hy id it ja ka km kn ko ku lo lt mk mn my_MM nb ne nl nn oc pa pl pt_BR pt ps ro ru si sk sl sq sr sr@latin sv sw ta te th tr uk ur vi xh zh_CN zh_HK zh_TW"
AM_GLIB_GNU_GETTEXT
dnlIfwedon't have msgfmt, then po/ is going to fail -- ensure that
dnl AM_GLIB_GNU_GETTEXT found it.
if test x$MSGFMT = xno -o x$MSGFMT$GMSGFMT$INTLTOOL_MSGFMT = x
then
AC_ERROR([
The msgfmt command is required to build libpurple. If it is installed
on your system, ensure that it is in your path. If it is not, install
GNU gettext to continue.
If you have msgfmt installed, but for some reason this error message
is still displayed, you have encountered what appears to be a bug in
third-party configure macros. Try setting the MSGFMT environment
variable to the absolute path to your msgfmt binary and trying
[compile without avahi (required for Bonjour support)])],
enable_avahi="$enableval",enable_avahi="yes")
AC_ARG_WITH(avahi-client-includes,[AC_HELP_STRING([--with-avahi-client-includes=DIR],[compile the Bonjour plugin against the Avahi Client includes in DIR])],[ac_avahi_client_includes="$withval"],[ac_avahi_client_includes="no"])
AC_ARG_WITH(avahi-client-libs,[AC_HELP_STRING([--with-avahi-client-libs=DIR],[compile the Bonjour plugin against the Avahi Client libs in DIR])],[ac_avahi_client_libs="$withval"],[ac_avahi_client_libs="no"])
AC_ARG_WITH(silc-includes,[AC_HELP_STRING([--with-silc-includes=DIR],[compile the SILC plugin against includes in DIR])],[ac_silc_includes="$withval"],[ac_silc_includes="no"])
AC_ARG_WITH(silc-libs,[AC_HELP_STRING([--with-silc-libs=DIR],[compile the SILC plugin against the SILC libs in DIR])],[ac_silc_libs="$withval"],[ac_silc_libs="no"])
AC_ARG_WITH(gadu-includes, [AC_HELP_STRING([--with-gadu-includes=DIR], [compile the Gadu-Gadu plugin against includes in DIR])], [ac_gadu_includes="$withval"], [ac_gadu_includes="no"])
AC_ARG_WITH(gadu-libs, [AC_HELP_STRING([--with-gadu-libs=DIR], [compile the Gadu-Gadu plugin against the libs in DIR])], [ac_gadu_libs="$withval"], [ac_gadu_libs="no"])
GADU_CFLAGS=""
GADU_LIBS=""
if test -n "$with_gadu_includes" || test -n "$with_gadu_libs"; then
AC_ARG_ENABLE(cyrus-sasl, AC_HELP_STRING([--enable-cyrus-sasl], [enable Cyrus SASL support for jabberd]), enable_cyrus_sasl=$enableval, enable_cyrus_sasl=no)
if test "x$enable_cyrus_sasl" = "xyes" ; then
AC_CHECK_LIB(sasl2, sasl_client_init, [
AC_DEFINE(HAVE_CYRUS_SASL, [1], [Define to 1 if Cyrus SASL is present])
AC_ARG_ENABLE(pixmaps-install,AC_HELP_STRING([--disable-pixmaps-install],[disable installation of pixmap files - Pidgin still needs them!]),enable_pixmaps="$enableval",enable_pixmaps=yes)