Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rad66dcd ra7baf40  
    1515datadir='$prefix/share/bitlbee/'
    1616config='/var/lib/bitlbee/'
    17 libdir='$prefix/lib/'
    1817plugindir='$prefix/lib/bitlbee/'
    1918includedir='$prefix/include/bitlbee/'
     
    4039purple=0
    4140
    42 verbose=0
    4341doc=1
    4442debug=0
    45 strip=0
     43strip=1
    4644gcov=0
    4745asan=0
     
    127125--pidfile=...                                           $pidfile
    128126--config=...                                            $config
    129 
    130 --verbose=0/1   Disable/enable verbose build            $verbose
    131127
    132128--msn=0/1       Disable/enable MSN part                 $msn
     
    174170datadir=$(eval echo "$datadir/" | sed 's/\/\{1,\}/\//g')
    175171config=$(eval echo "$config/" | sed 's/\/\{1,\}/\//g')
    176 libdir=$(eval echo "$libdir/" | sed 's/\/\{1,\}/\//g')
    177172plugindir=$(eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g')
    178173includedir=$(eval echo "$includedir"/ | sed 's/\/\{1,\}/\//g')
     
    198193PLUGINDIR=$plugindir
    199194CONFIG=$config
    200 LIBDIR=$libdir
    201195INCLUDEDIR=$includedir
    202196PCDIR=$pcdir
     
    247241#define VARDIR "$datadir"
    248242#define PLUGINDIR "$plugindir"
    249 #define DATADIR "$datadir"
    250243#define PIDFILE "$pidfile"
    251244#define IPCSOCKET "$ipcsocket"
     
    290283fi
    291284
    292 if [ "$verbose" = "0" ]; then
    293         echo 'VERBOSE=@' >> Makefile.settings
    294 else
    295         echo 'VERBOSE=' >> Makefile.settings
    296 fi
    297 
    298 cat <<EOF >>Makefile.settings
    299 
    300 # Enable/disable output verbosity
    301 ifdef V
    302 ifeq (\$(V),1)
    303         VERBOSE=
    304 else
    305         VERBOSE=@
    306 endif
    307 endif
    308 
    309 EOF
    310 
    311285if [ "$debug" = "1" ]; then
    312286        echo 'DEBUG=1' >> Makefile.settings
    313287        CFLAGS="$CFLAGS -g3 -DDEBUG -O0"
    314288else
    315         [ -z "$CFLAGS" ] && CFLAGS="-g -O2 -fno-strict-aliasing"
     289        [ -z "$CFLAGS" ] && CFLAGS="-O2 -fno-strict-aliasing"
    316290fi
    317291
     
    771745if [ "$doc" = "1" ]; then
    772746        # check this here just in case someone tries to install it in python2.4...
    773         if [ ! -e $srcdir/doc/user-guide/help.txt ] && ! $PYTHON -m xml.etree.ElementTree > /dev/null 2>&1; then
     747        if ! $PYTHON -m xml.etree.ElementTree > /dev/null 2>&1; then
    774748                echo
    775749                echo 'ERROR: Python (>=2.5 or 3.x) is required to generate docs'
     
    804778fi
    805779
    806 pkgconfiglibs=''
    807 case "$arch" in
    808 CYGWIN* )
    809         pkgconfiglibs='-L${libdir} -lbitlbee -no-undefined'
    810 esac
    811 
    812780cat <<EOF >bitlbee.pc
    813781prefix=$prefix
    814782includedir=$includedir
    815783plugindir=$plugindir
    816 libdir=$libdir
    817 datadir=$datadir
    818784
    819785Name: bitlbee
     
    821787Requires: glib-2.0
    822788Version: $BITLBEE_VERSION
    823 Libs: $pkgconfiglibs
     789Libs:
    824790Cflags: -I\${includedir}
    825791
     
    931897;;
    932898CYGWIN* )
    933         echo 'EFLAGS+=-Wl,--export-all,--out-implib,libbitlbee.dll.a' >> Makefile.settings
    934         echo 'IMPLIB=libbitlbee.dll.a' >> Makefile.settings
    935899;;
    936900Windows )
Note: See TracChangeset for help on using the changeset viewer.