Changeset 703f0f7 for configure


Ignore:
Timestamp:
2005-12-14T01:17:25Z (19 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
547f937
Parents:
22bf64e (diff), 568aaf7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge my pluginable branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r22bf64e r703f0f7  
    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
Note: See TracChangeset for help on using the changeset viewer.