Changeset e248c7f
- Timestamp:
- 2009-10-12T22:23:49Z (15 years ago)
- Branches:
- master
- Children:
- 4524f66
- Parents:
- dd0d57b1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rdd0d57b1 re248c7f 450 450 protoobjs='' 451 451 452 if [ "$msn" = 0 ]; then453 echo '#undef WITH_MSN' >> config.h454 else455 echo '#define WITH_MSN' >> config.h456 protocols=$protocols'msn '457 protoobjs=$protoobjs'msn_mod.o '458 fi459 460 if [ "$jabber" = 0 ]; then461 echo '#undef WITH_JABBER' >> config.h462 else463 echo '#define WITH_JABBER' >> config.h464 protocols=$protocols'jabber '465 protoobjs=$protoobjs'jabber_mod.o '466 fi467 468 if [ "$oscar" = 0 ]; then469 echo '#undef WITH_OSCAR' >> config.h470 else471 echo '#define WITH_OSCAR' >> config.h472 protocols=$protocols'oscar '473 protoobjs=$protoobjs'oscar_mod.o '474 fi475 476 if [ "$yahoo" = 0 ]; then477 echo '#undef WITH_YAHOO' >> config.h478 else479 echo '#define WITH_YAHOO' >> config.h480 protocols=$protocols'yahoo '481 protoobjs=$protoobjs'yahoo_mod.o '482 fi483 484 452 if [ "$purple" = 0 ]; then 485 453 echo '#undef WITH_PURPLE' >> config.h … … 489 457 protocols=$protocols'purple ' 490 458 protoobjs=$protoobjs'purple_mod.o ' 459 460 # Having both libpurple and native IM modules in one binary may 461 # do strange things. Let's not do that. 462 msn=0 463 jabber=0 464 oscar=0 465 yahoo=0 466 fi 467 468 if [ "$msn" = 0 ]; then 469 echo '#undef WITH_MSN' >> config.h 470 else 471 echo '#define WITH_MSN' >> config.h 472 protocols=$protocols'msn ' 473 protoobjs=$protoobjs'msn_mod.o ' 474 fi 475 476 if [ "$jabber" = 0 ]; then 477 echo '#undef WITH_JABBER' >> config.h 478 else 479 echo '#define WITH_JABBER' >> config.h 480 protocols=$protocols'jabber ' 481 protoobjs=$protoobjs'jabber_mod.o ' 482 fi 483 484 if [ "$oscar" = 0 ]; then 485 echo '#undef WITH_OSCAR' >> config.h 486 else 487 echo '#define WITH_OSCAR' >> config.h 488 protocols=$protocols'oscar ' 489 protoobjs=$protoobjs'oscar_mod.o ' 490 fi 491 492 if [ "$yahoo" = 0 ]; then 493 echo '#undef WITH_YAHOO' >> config.h 494 else 495 echo '#define WITH_YAHOO' >> config.h 496 protocols=$protocols'yahoo ' 497 protoobjs=$protoobjs'yahoo_mod.o ' 491 498 fi 492 499 -
protocols/nogaim.c
rdd0d57b1 re248c7f 102 102 { 103 103 GList *gl; 104 for (gl = protocols; gl; gl = gl->next) 104 105 for( gl = protocols; gl; gl = gl->next ) 105 106 { 106 107 struct prpl *proto = gl->data; 107 if(!g_strcasecmp(proto->name, name)) 108 109 if( g_strcasecmp( proto->name, name ) == 0 ) 108 110 return proto; 111 112 #ifdef WITH_PURPLE 113 /* I know, hardcoding is evil, but that doesn't make it 114 impossible. :-) */ 115 if( g_strncasecmp( proto->name, "prpl-", 5 ) == 0 && 116 g_strcasecmp( proto->name + 5, name ) == 0 ) 117 return proto; 118 #endif 109 119 } 120 110 121 return NULL; 111 122 }
Note: See TracChangeset
for help on using the changeset viewer.