Changeset 796da03 for configure


Ignore:
Timestamp:
2009-10-04T23:28:11Z (15 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.

File:
1 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!"
Note: See TracChangeset for help on using the changeset viewer.