Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r764c7d1 r003553b  
    3030gcov=0
    3131plugins=1
    32 otr=auto
    3332
    3433events=glib
     
    7170--gcov=0/1      Disable/enable test coverage reporting  $gcov
    7271--plugins=0/1   Disable/enable plugins support          $plugins
    73 --otr=0/1/auto  Disable/enable OTR encryption support   $otr
    7472
    7573--events=...    Event handler (glib, libevent)          $events
     
    176174        if $PKG_CONFIG glib-2.0 --atleast-version=$GLIB_MIN_VERSION; then
    177175                cat<<EOF>>Makefile.settings
    178 EFLAGS+=`$PKG_CONFIG --libs glib-2.0 gmodule-2.0 gthread-2.0`
    179 CFLAGS+=`$PKG_CONFIG --cflags glib-2.0 gmodule-2.0 gthread-2.0`
     176EFLAGS+=`$PKG_CONFIG --libs glib-2.0 gmodule-2.0`
     177CFLAGS+=`$PKG_CONFIG --cflags glib-2.0 gmodule-2.0`
    180178EOF
    181179        else
     
    387385fi
    388386
    389 if [ "$otr" = "auto" ]; then
    390         for i in /lib /usr/lib /usr/local/lib; do
    391                 if [ -f $i/libotr.a ]; then
    392                         otr=1
    393                         break
    394                 fi
    395         done
    396 fi
    397 if [ "$otr" = 0 ]; then
    398         echo '#undef WITH_OTR' >> config.h
    399 else
    400         echo '#define WITH_OTR' >> config.h
    401         echo "EFLAGS+=-lotr" >> Makefile.settings
    402 fi
    403 
    404387echo
    405388if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then
     
    521504fi
    522505
    523 if [ "$otr" = "1" ]; then
    524         echo '  Off-the-Record (OTR) Messaging enabled.'
    525 else
    526         echo '  Off-the-Record (OTR) Messaging disabled.'
    527 fi
    528 
    529506echo '  Using event handler: '$events
    530507echo '  Using SSL library: '$ssl
Note: See TracChangeset for help on using the changeset viewer.