Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r823de9d r6a72a57  
    3131gcov=0
    3232plugins=1
    33 otr=auto
    3433
    3534events=glib
     
    7271--gcov=0/1      Disable/enable test coverage reporting  $gcov
    7372--plugins=0/1   Disable/enable plugins support          $plugins
    74 --otr=0/1       Disable/enable OTR encryption support   $otr
    7573
    7674--events=...    Event handler (glib, libevent)          $events
     
    413411fi
    414412
    415 otrprefix=""
    416 for i in / /usr /usr/local; do
    417         if [ -f ${i}/lib/libotr.a ]; then
    418                 otrprefix=${i}
    419                 break
    420         fi
    421 done
    422 if [ "$otr" = "auto" ]; then
    423         if [ -n "$otrprefix" ]; then
    424                 otr=1
    425         else
    426                 otr=0
    427         fi
    428 fi
    429 if [ "$otr" = 1 ]; then
    430         echo '#define WITH_OTR' >> config.h
    431         echo "EFLAGS+=-L${otrprefix}/lib -lotr" >> Makefile.settings
    432         echo "CFLAGS+=-I${otrprefix}/include" >> Makefile.settings
    433 else
    434         echo '#undef WITH_OTR' >> config.h
    435 fi
    436 
    437413echo
    438414if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then
     
    560536fi
    561537
    562 if [ "$otr" = "1" ]; then
    563         echo '  Off-the-Record (OTR) Messaging enabled.'
    564 else
    565         echo '  Off-the-Record (OTR) Messaging disabled.'
    566 fi
    567 
    568538echo '  Using event handler: '$events
    569539echo '  Using SSL library: '$ssl
Note: See TracChangeset for help on using the changeset viewer.