Changeset 8e419cb for configure


Ignore:
Timestamp:
2006-01-10T21:35:08Z (19 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
a4dc9f7
Parents:
3e91c3e (diff), dd8d4c5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge Wilmer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r3e91c3e r8e419cb  
    2323debug=0
    2424strip=1
    25 flood=0
    2625ipv6=1
    2726ssl=auto
     
    258257        if [ "$ret" = "0" ]; then
    259258                echo
    260                 echo 'WARNING: Could not find a suitable SSL library (GnuTLS, libnss or OpenSSL).'
    261                 echo '         This is necessary for MSN and full Jabber support. To continue,'
    262                 echo '         install a suitable SSL library or disable MSN support (--msn=0).'
    263                 echo '         If you want Jabber without SSL support you can try --ssl=bogus.'
     259                echo 'ERROR: Could not find a suitable SSL library (GnuTLS, libnss or OpenSSL).'
     260                echo '       This is necessary for MSN and full Jabber support. To continue,'
     261                echo '       install a suitable SSL library or disable MSN support (--msn=0).'
     262                echo '       If you want Jabber without SSL support you can try --ssl=bogus.'
    264263               
    265264                exit 1;
     
    291290fi
    292291
    293 if [ "$flood" = 1 ]; then
    294         # echo '#define FLOOD_SEND' >> config.h
    295         echo 'Flood protection is disabled in this release because of too many bugs.' 2> /dev/stderr
    296         rm config.h
    297         rm Makefile.settings
    298         exit 1
     292echo
     293if [ -z "$BITLBEE_VERSION" -a -d .bzr -a -x "`which bzr`" ]; then
     294        rev=`bzr revno`
     295        echo 'Using bzr revision #'$rev' as version number'
     296        BITLBEE_VERSION=\"bzr-$rev\"
    299297fi
    300298
    301299if [ -n "$BITLBEE_VERSION" ]; then
    302         echo
    303300        echo 'Spoofing version number: '$BITLBEE_VERSION
    304301        echo '#undef BITLBEE_VERSION' >> config.h
    305         echo '#define BITLBEE_VERSION '$BITLBEE_VERSION >> config.h;
     302        echo '#define BITLBEE_VERSION '$BITLBEE_VERSION >> config.h
     303        echo
    306304fi
    307305
     
    314312        echo '#define WITH_MSN' >> config.h
    315313        protocols=$protocols'msn '
    316         protoobjs=$protoobjs'msnn.o '
     314        protoobjs=$protoobjs'msn_mod.o '
    317315fi
    318316
     
    322320        echo '#define WITH_JABBER' >> config.h
    323321        protocols=$protocols'jabber '
    324         protoobjs=$protoobjs'jabberr.o '
     322        protoobjs=$protoobjs'jabber_mod.o '
    325323fi
    326324
     
    330328        echo '#define WITH_OSCAR' >> config.h
    331329        protocols=$protocols'oscar '
    332         protoobjs=$protoobjs'oscarr.o '
     330        protoobjs=$protoobjs'oscar_mod.o '
    333331fi
    334332
     
    338336        echo '#define WITH_YAHOO' >> config.h
    339337        protocols=$protocols'yahoo '
    340         protoobjs=$protoobjs'yahooo.o '
     338        protoobjs=$protoobjs'yahoo_mod.o '
    341339fi
    342340
    343341if [ "$protocols" = "PROTOCOLS = " ]; then
    344         echo
    345342        echo "WARNING: You haven't selected any communication protocol to compile!"
    346343        echo "         Bitlbee will run, but you will be unable to connect to IM servers!"
     
    350347echo "PROTOOBJS = $protoobjs" >> Makefile.settings
    351348
    352 echo
    353349echo Architecture: $arch
    354350case "$arch" in
Note: See TracChangeset for help on using the changeset viewer.