Changeset bf02a67 for configure


Ignore:
Timestamp:
2005-12-15T11:55:27Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
15832cc, bd69a21
Parents:
11e090b (diff), 547f937 (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:

Merged Jelmer's pluginable tree (mainly useful for the Win32 port).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r11e090b rbf02a67  
    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.