Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r285b55d r8de63c3  
    2929strip=1
    3030gcov=0
    31 plugins=1
    3231ipv6=1
    3332
     
    7069--strip=0/1     Disable/enable binary stripping         $strip
    7170--gcov=0/1      Disable/enable test coverage reporting  $gcov
    72 --plugins=0/1   Disable/enable plugins support          $plugins
    7371
    7472--ipv6=0/1      IPv6 socket support                     $ipv6
     73
     74--ldap=0/1/auto LDAP support                            $ldap
    7575
    7676--events=...    Event handler (glib, libevent)          $events
     
    140140
    141141if [ "$debug" = "1" ]; then
    142         [ -z "$CFLAGS" ] && CFLAGS=-g
     142        echo 'CFLAGS=-g' >> Makefile.settings
    143143        echo 'DEBUG=1' >> Makefile.settings
    144144        echo '#define DEBUG' >> config.h
    145145else
    146         [ -z "$CFLAGS" ] && CFLAGS=-O3
    147 fi
    148 
    149 echo CFLAGS=$CFLAGS >> Makefile.settings
     146        echo 'CFLAGS=-O3' >> Makefile.settings
     147fi
     148
    150149echo CFLAGS+=-I`pwd` -I`pwd`/lib -I`pwd`/protocols -I. >> Makefile.settings
    151150
     
    329328
    330329echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings
    331 
    332 for i in /lib /usr/lib /usr/local/lib; do
    333         if [ -e $i/libresolv.a ]; then
    334                 echo '#define HAVE_RESOLV_A' >> config.h
    335                 echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings
    336                 break
    337         fi
    338 done
    339330
    340331STORAGES="text xml"
     
    386377fi
    387378
    388 if [ "$plugins" = 0 ]; then
    389         echo '#undef WITH_PLUGINS' >> config.h
    390 else
    391         echo '#define WITH_PLUGINS' >> config.h
    392 fi
    393 
    394379echo
    395380if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then
Note: See TracChangeset for help on using the changeset viewer.