Mercurial > pidgin
view m4/osip.m4 @ 12850:49b2347863b2
[gaim-migrate @ 15200]
SF Patch #1403151 from charkins
"This patch prevents two cases for "sonic avalanche" in
the sound code. The first is to only play sounds in
response to the chat-buddy-joined signal when the
new_arrival flag is set."
"The second case has to do with jabber pre-filling chat
history when a chat is joined. The GAIM_MESSAGE_DELAYED
flag is used on these messages, so sound are not played
when this flag is set on received messages."
"I also fixed sound_playing_event_cb() in
signals-test.c which was assuming account!=NULL, which
in turn was throwing an assertion error when
gaim_account_get_username() was called."
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 12 Jan 2006 06:59:39 +0000 |
parents | 80faf1ca5280 |
children |
line wrap: on
line source
AC_DEFUN([LP_CHECK_OSIP2],[ AC_ARG_WITH( osip, [ --with-osip Set prefix where osip can be found (ex:/usr or /usr/local)[default=/usr/local] ], [ osip_prefix=${withval}],[ osip_prefix=/usr ]) AC_SUBST(osip_prefix) OSIP_CFLAGS="-I$osip_prefix/include" OSIP_LIBS="-L$osip_prefix/lib" dnl check osip2 headers CPPFLAGS_save=$CPPFLAGS CPPFLAGS=$OSIP_CFLAGS AC_CHECK_HEADER([osip2/osip.h], ,AC_MSG_ERROR([Could not find osip2 headers !])) CPPFLAGS=$CPPFLAGS_save dnl check for osip2 libs LDFLAGS_save=$LDFLAGS LDFLAGS=$OSIP_LIBS dnl AC_CHECK_LIB adds osipparser2 to LIBS, I don't want that ! LIBS_save=$LIBS AC_CHECK_LIB(osipparser2,osip_message_init, , AC_MSG_ERROR([Could not find osip2 libraries !])) LDFLAGS=$LDFLAGS_save LIBS=$LIBS_save OSIP_LIBS="$OSIP_LIBS -losipparser2 -losip2" AC_SUBST(OSIP_CFLAGS) AC_SUBST(OSIP_LIBS) ])