Changeset 601e813 for configure


Ignore:
Timestamp:
2006-05-24T23:04:18Z (18 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
80c1e4d
Parents:
46ad029 (diff), fc630f9 (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] Wilmer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r46ad029 r601e813  
    1717ipcsocket='/var/run/bitlbee'
    1818plugindir='$prefix/lib/bitlbee'
     19pcdir='$prefix/lib/pkgconfig'
     20includedir='$prefix/include/bitlbee'
    1921
    2022msn=1
     
    8082pidfile=`eval echo "$pidfile" | sed 's/\/\{1,\}/\//g'`
    8183ipcsocket=`eval echo "$ipcsocket" | sed 's/\/\{1,\}/\//g'`
     84includedir=`eval echo "$includedir" | sed 's/\/\{1,\}/\//g'`
     85pcdir=`eval echo "$pcdir" | sed 's/\/\{1,\}/\//g'`
    8286
    8387cat<<EOF>Makefile.settings
     
    9195CONFIG=$config
    9296IPCSOCKET=$ipcsocket
     97INCLUDEDIR=$includedir
     98PCDIR=$pcdir
    9399
    94100ARCH=$arch
     
    300306
    301307echo
    302 if [ -z "$BITLBEE_VERSION" -a -d .bzr -a -x "`which bzr`" ]; then
     308if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then
     309        nick=`bzr nick`
     310        if [ -n "$nick" -a "$nick" != "bitlbee" ]; then
     311                nick="-$nick"
     312        else
     313                nick=""
     314        fi
    303315        rev=`bzr revno`
    304316        echo 'Using bzr revision #'$rev' as version number'
    305         BITLBEE_VERSION=\"bzr-$rev\"
     317        BITLBEE_VERSION=\"bzr$nick-$rev\"
    306318fi
    307319
     
    313325fi
    314326
     327cat <<EOF>bitlbee.pc
     328prefix=$prefix
     329includedir=$includedir
     330
     331Name: bitlbee
     332Description: IRC to IM gateway
     333Requires: glib-2.0
     334Version: $BITLBEE_VERSION
     335Libs:
     336Cflags: -I\${includedir}
     337
     338EOF
     339
    315340protocols=''
    316341protoobjs=''
Note: See TracChangeset for help on using the changeset viewer.