diff -r aaaa2b1a8de0 -r fafc922963f5 config.h.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config.h.in Wed Jan 20 19:47:58 2010 +0200 @@ -0,0 +1,18 @@ + +#ifndef LOCAL_CONFIG_H +#define LOCAL_CONFIG_H + +#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 +