Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r7b23afd rf712188  
    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
     
    7573datadir=`eval echo "$datadir/" | sed 's/\/\{1,\}/\//g'`
    7674config=`eval echo "$config/" | sed 's/\/\{1,\}/\//g'`
    77 plugindir=`eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g'`
    7875
    7976cat<<EOF>Makefile.settings
     
    8481MANDIR=$mandir
    8582DATADIR=$datadir
    86 PLUGINDIR=$plugindir
    8783CONFIG=$config
    8884
     
    105101#define ETCDIR "$etcdir"
    106102#define VARDIR "$datadir"
    107 #define PLUGINDIR "$plugindir"
    108103#define ARCH "$arch"
    109104#define CPU "$cpu"
     
    123118
    124119echo CFLAGS+=-I`pwd` -I`pwd`/protocols -I. >> Makefile.settings
     120
     121echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings
    125122
    126123if [ -n "$CC" ]; then
     
    146143if type pkg-config > /dev/null 2>/dev/null && pkg-config glib-2.0; then
    147144        cat<<EOF>>Makefile.settings
    148 EFLAGS+=`pkg-config --libs glib-2.0 gmodule-2.0`
    149 CFLAGS+=`pkg-config --cflags glib-2.0 gmodule-2.0`
     145EFLAGS+=`pkg-config --libs glib-2.0`
     146CFLAGS+=`pkg-config --cflags glib-2.0`
    150147EOF
    151148        echo '#define GLIB2' >> config.h
Note: See TracChangeset for help on using the changeset viewer.