diff -r 299300f1dd31 -r 6d0d6bbf98d0 config.h.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config.h.in Wed Jan 20 19:59:55 2010 +0200 @@ -0,0 +1,20 @@ + +#ifndef LOCAL_CONFIG_H +#define LOCAL_CONFIG_H + +#cmakedefine HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER + +#cmakedefine HAVE_XMPP_IS_ONLINE + +#ifndef HAVE_XMPP_IS_ONLINE +inline gboolean xmpp_is_online (void) +{ + if (lconnection && lm_connection_is_authenticated (lconnection)) + return TRUE; + else + return FALSE; +} +#endif + +#endif +