Changeset 417002e for configure


Ignore:
Timestamp:
2011-03-18T00:57:14Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
c14959d
Parents:
f68fd5f
Message:

systemd stuff (bug #738)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rf68fd5f r417002e  
    1616plugindir='$prefix/lib/bitlbee/'
    1717includedir='$prefix/include/bitlbee/'
     18systemdsystemunitdir=''
    1819libevent='/usr/'
    1920pidfile='/var/run/bitlbee.pid'
     
    6263--datadir=...                                           $datadir
    6364--plugindir=...                                         $plugindir
     65--systemdsystemunitdir=...                              $systemdsystemunitdir
    6466--pidfile=...                                           $pidfile
    6567--config=...                                            $config
     
    487489fi
    488490
     491if [ -z "$systemdsystemunitdir" ]; then
     492        if $PKG_CONFIG --exists systemd; then
     493                systemdsystemunitdir=`$PKG_CONFIG --variable=systemdsystemunitdir systemd`
     494        fi
     495fi
     496if [ -n "$systemdsystemunitdir" ]; then
     497        if [ "$systemdsystemunitdir" != "no" ]; then
     498                echo "SYSTEMDSYSTEMUNITDIR=$systemdsystemunitdir" >> Makefile.settings
     499        fi
     500fi
     501
    489502if [ "$gcov" = "1" ]; then
    490503        echo "CFLAGS+=--coverage" >> Makefile.settings
     
    727740fi
    728741
     742if [ -n "$systemdsystemunitdir" ]; then
     743        echo '  systemd enabled.'
     744else
     745        echo '  systemd disabled.'
     746fi
     747
    729748echo '  Using event handler: '$events
    730749echo '  Using SSL library: '$ssl
Note: See TracChangeset for help on using the changeset viewer.