All pastes #331259 Raw Edit

Unnamed

public text v1 · immutable
#331259 ·published 2007-01-28 18:34 UTC
rendered paste body
# Checks for XMPP support (using loudmouth)                                                                                                                                                 
PKG_CHECK_MODULES(_abi_loudmouth,[loudmouth-1.0 >= 1.0.1 ],[                                                                                                                                
        ABI_PLUGIN_REPORT([abicollab XMPP support: yes])                                                                                                                                    
        abicollab_handler_xmpp=yes                                                                                                                                                          
],[     ABI_PLUGIN_REPORT([abicollab XMPP support: no, loudmouth >= 1.0.1 required])                                                                                                        
])                                                                                                                                                                                          
if test $abicollab_handler_xmpp = yes; then                                                                                                                                                 
        ABICOLLAB_XMPP_CPPFLAGS="$_abi_loudmouth_CFLAGS -DXMPP"                                                                                                                             
        ABICOLLAB_XMPP_LDFLAGS="$_abi_loudmouth_LIBS"                                                                                                                                       
fi                                                                                                                                                                                          
AC_SUBST(ABICOLLAB_XMPP_CPPFLAGS)                                                                                                                                                           
AC_SUBST(ABICOLLAB_XMPP_LDFLAGS)