Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r8d6c4b1 rb5a22e3  
    1414datadir='$prefix/share/bitlbee/'
    1515config='/var/lib/bitlbee/'
     16plugindir='$prefix/lib/bitlbee'
    1617
    1718msn=1
     
    4546--mandir=...                                            $mandir
    4647--datadir=...                                           $datadir
     48--plugindir=...                                         $plugindir
    4749--config=...                                            $config
    4850
     
    7274datadir=`eval echo "$datadir/" | sed 's/\/\{1,\}/\//g'`
    7375config=`eval echo "$config/" | sed 's/\/\{1,\}/\//g'`
     76plugindir=`eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g'`
    7477
    7578cat<<EOF>Makefile.settings
     
    8083MANDIR=$mandir
    8184DATADIR=$datadir
     85PLUGINDIR=$plugindir
    8286CONFIG=$config
    8387
     
    100104#define ETCDIR "$etcdir"
    101105#define VARDIR "$datadir"
     106#define PLUGINDIR "$plugindir"
    102107#define ARCH "$arch"
    103108#define CPU "$cpu"
     
    142147if type pkg-config > /dev/null 2>/dev/null && pkg-config glib-2.0; then
    143148        cat<<EOF>>Makefile.settings
    144 EFLAGS+=`pkg-config --libs glib-2.0`
    145 CFLAGS+=`pkg-config --cflags glib-2.0`
     149EFLAGS+=`pkg-config --libs glib-2.0 gmodule-2.0`
     150CFLAGS+=`pkg-config --cflags glib-2.0 gmodule-2.0`
    146151EOF
    147152        echo '#define GLIB2' >> config.h
     
    247252        if [ "$ret" = "0" ]; then
    248253                echo
    249                 echo 'WARNING: Could not find a suitable SSL library (GnuTLS, libnss or OpenSSL).'
    250                 echo '         This is necessary for MSN and full Jabber support. To continue,'
    251                 echo '         install a suitable SSL library or disable MSN support (--msn=0).'
    252                 echo '         If you want Jabber without SSL support you can try --ssl=bogus.'
     254                echo 'ERROR: Could not find a suitable SSL library (GnuTLS, libnss or OpenSSL).'
     255                echo '       This is necessary for MSN and full Jabber support. To continue,'
     256                echo '       install a suitable SSL library or disable MSN support (--msn=0).'
     257                echo '       If you want Jabber without SSL support you can try --ssl=bogus.'
    253258               
    254259                exit 1;
     
    303308        echo '#define WITH_MSN' >> config.h
    304309        protocols=$protocols'msn '
    305         protoobjs=$protoobjs'msnn.o '
     310        protoobjs=$protoobjs'msn_mod.o '
    306311fi
    307312
     
    311316        echo '#define WITH_JABBER' >> config.h
    312317        protocols=$protocols'jabber '
    313         protoobjs=$protoobjs'jabberr.o '
     318        protoobjs=$protoobjs'jabber_mod.o '
    314319fi
    315320
     
    319324        echo '#define WITH_OSCAR' >> config.h
    320325        protocols=$protocols'oscar '
    321         protoobjs=$protoobjs'oscarr.o '
     326        protoobjs=$protoobjs'oscar_mod.o '
    322327fi
    323328
     
    327332        echo '#define WITH_YAHOO' >> config.h
    328333        protocols=$protocols'yahoo '
    329         protoobjs=$protoobjs'yahooo.o '
     334        protoobjs=$protoobjs'yahoo_mod.o '
    330335fi
    331336
Note: See TracChangeset for help on using the changeset viewer.