Changeset ffea9b9 for configure


Ignore:
Timestamp:
2005-12-26T12:41:29Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d25f6fc
Parents:
1fa6a23
Message:

configure now uses the bzr revision number as version number if compiling from a .bzr tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r1fa6a23 rffea9b9  
    297297fi
    298298
     299echo
     300if [ -z "$BITLBEE_VERSION" -a -d .bzr -a -x "`which bzr`" ]; then
     301        rev=`bzr revno`
     302        echo 'Using bzr revision #'$rev' as version number'
     303        BITLBEE_VERSION=\"bzr-$rev\"
     304fi
     305
    299306if [ -n "$BITLBEE_VERSION" ]; then
    300         echo
    301307        echo 'Spoofing version number: '$BITLBEE_VERSION
    302308        echo '#undef BITLBEE_VERSION' >> config.h
    303         echo '#define BITLBEE_VERSION '$BITLBEE_VERSION >> config.h;
     309        echo '#define BITLBEE_VERSION '$BITLBEE_VERSION >> config.h
     310        echo
    304311fi
    305312
     
    340347
    341348if [ "$protocols" = "PROTOCOLS = " ]; then
    342         echo
    343349        echo "WARNING: You haven't selected any communication protocol to compile!"
    344350        echo "         Bitlbee will run, but you will be unable to connect to IM servers!"
     
    348354echo "PROTOOBJS = $protoobjs" >> Makefile.settings
    349355
    350 echo
    351356echo Architecture: $arch
    352357case "$arch" in
Note: See TracChangeset for help on using the changeset viewer.