Changeset 796da03


Ignore:
Timestamp:
2009-10-04T23:28:11Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
860ba6a
Parents:
e59b4f6
Message:

Something that compiles and runs, but otherwise utterly useless. Added a
protocols/purple/ module and included it in the build system. Already picks
up all the supported protocols and adds them individually.

Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    re59b4f6 r796da03  
    2626oscar=1
    2727yahoo=1
     28purple=0
    2829
    2930debug=0
     
    6667--oscar=0/1     Disable/enable Oscar part (ICQ, AIM)    $oscar
    6768--yahoo=0/1     Disable/enable Yahoo part               $yahoo
     69
     70--purple=0/1    Disable/enable libpurple support        $purple
    6871
    6972--debug=0/1     Disable/enable debugging                $debug
     
    479482fi
    480483
     484if [ "$purple" = 0 ]; then
     485        echo '#undef WITH_PURPLE' >> config.h
     486else
     487        echo '#define WITH_PURPLE' >> config.h
     488        echo 'EFLAGS += $$(pkg-config purple --libs)' >> Makefile.settings
     489        protocols=$protocols'purple '
     490        protoobjs=$protoobjs'purple_mod.o '
     491fi
     492
    481493if [ "$protocols" = "PROTOCOLS = " ]; then
    482494        echo "Warning: You haven't selected any communication protocol to compile!"
  • protocols/nogaim.c

    re59b4f6 r796da03  
    118118        extern void byahoo_initmodule();
    119119        extern void jabber_initmodule();
     120        extern void purple_initmodule();
    120121
    121122#ifdef WITH_MSN
     
    133134#ifdef WITH_JABBER
    134135        jabber_initmodule();
     136#endif
     137       
     138#ifdef WITH_PURPLE
     139        purple_initmodule();
    135140#endif
    136141
Note: See TracChangeset for help on using the changeset viewer.