Changeset eda54e4 for configure


Ignore:
Timestamp:
2007-10-12T00:08:58Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
a6df0b5
Parents:
82135c7 (diff), d444c09 (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 from devel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r82135c7 reda54e4  
    2929strip=1
    3030gcov=0
     31plugins=1
    3132ipv6=1
    3233
     
    6970--strip=0/1     Disable/enable binary stripping         $strip
    7071--gcov=0/1      Disable/enable test coverage reporting  $gcov
     72--plugins=0/1   Disable/enable plugins support          $plugins
    7173
    7274--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         echo 'CFLAGS=-g' >> Makefile.settings
     142        [ -z "$CFLAGS" ] && CFLAGS=-g
    143143        echo 'DEBUG=1' >> Makefile.settings
    144144        echo '#define DEBUG' >> config.h
    145145else
    146         echo 'CFLAGS=-O3' >> Makefile.settings
    147 fi
    148 
     146        [ -z "$CFLAGS" ] && CFLAGS=-O3
     147fi
     148
     149echo CFLAGS=$CFLAGS >> Makefile.settings
    149150echo CFLAGS+=-I`pwd` -I`pwd`/lib -I`pwd`/protocols -I. >> Makefile.settings
    150151
     
    385386fi
    386387
     388if [ "$plugins" = 0 ]; then
     389        echo '#undef WITH_PLUGINS' >> config.h
     390else
     391        echo '#define WITH_PLUGINS' >> config.h
     392fi
     393
    387394echo
    388395if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then
Note: See TracChangeset for help on using the changeset viewer.