Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rb5a22e3 r8d6c4b1  
    1414datadir='$prefix/share/bitlbee/'
    1515config='/var/lib/bitlbee/'
    16 plugindir='$prefix/lib/bitlbee'
    1716
    1817msn=1
     
    4645--mandir=...                                            $mandir
    4746--datadir=...                                           $datadir
    48 --plugindir=...                                         $plugindir
    4947--config=...                                            $config
    5048
     
    7472datadir=`eval echo "$datadir/" | sed 's/\/\{1,\}/\//g'`
    7573config=`eval echo "$config/" | sed 's/\/\{1,\}/\//g'`
    76 plugindir=`eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g'`
    7774
    7875cat<<EOF>Makefile.settings
     
    8380MANDIR=$mandir
    8481DATADIR=$datadir
    85 PLUGINDIR=$plugindir
    8682CONFIG=$config
    8783
     
    104100#define ETCDIR "$etcdir"
    105101#define VARDIR "$datadir"
    106 #define PLUGINDIR "$plugindir"
    107102#define ARCH "$arch"
    108103#define CPU "$cpu"
     
    147142if type pkg-config > /dev/null 2>/dev/null && pkg-config glib-2.0; then
    148143        cat<<EOF>>Makefile.settings
    149 EFLAGS+=`pkg-config --libs glib-2.0 gmodule-2.0`
    150 CFLAGS+=`pkg-config --cflags glib-2.0 gmodule-2.0`
     144EFLAGS+=`pkg-config --libs glib-2.0`
     145CFLAGS+=`pkg-config --cflags glib-2.0`
    151146EOF
    152147        echo '#define GLIB2' >> config.h
     
    252247        if [ "$ret" = "0" ]; then
    253248                echo
    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.'
     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.'
    258253               
    259254                exit 1;
     
    308303        echo '#define WITH_MSN' >> config.h
    309304        protocols=$protocols'msn '
    310         protoobjs=$protoobjs'msn_mod.o '
     305        protoobjs=$protoobjs'msnn.o '
    311306fi
    312307
     
    316311        echo '#define WITH_JABBER' >> config.h
    317312        protocols=$protocols'jabber '
    318         protoobjs=$protoobjs'jabber_mod.o '
     313        protoobjs=$protoobjs'jabberr.o '
    319314fi
    320315
     
    324319        echo '#define WITH_OSCAR' >> config.h
    325320        protocols=$protocols'oscar '
    326         protoobjs=$protoobjs'oscar_mod.o '
     321        protoobjs=$protoobjs'oscarr.o '
    327322fi
    328323
     
    332327        echo '#define WITH_YAHOO' >> config.h
    333328        protocols=$protocols'yahoo '
    334         protoobjs=$protoobjs'yahoo_mod.o '
     329        protoobjs=$protoobjs'yahooo.o '
    335330fi
    336331
Note: See TracChangeset for help on using the changeset viewer.