Changeset 7b23afd for configure


Ignore:
Timestamp:
2005-11-07T16:16:18Z (16 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
f7f3ada
Parents:
fe51bcf
Message:

Migrate my pluginable branch to use Wilmers' branch as parent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rfe51bcf r7b23afd  
    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
     
    7375datadir=`eval echo "$datadir/" | sed 's/\/\{1,\}/\//g'`
    7476config=`eval echo "$config/" | sed 's/\/\{1,\}/\//g'`
     77plugindir=`eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g'`
    7578
    7679cat<<EOF>Makefile.settings
     
    8184MANDIR=$mandir
    8285DATADIR=$datadir
     86PLUGINDIR=$plugindir
    8387CONFIG=$config
    8488
     
    101105#define ETCDIR "$etcdir"
    102106#define VARDIR "$datadir"
     107#define PLUGINDIR "$plugindir"
    103108#define ARCH "$arch"
    104109#define CPU "$cpu"
     
    141146if type pkg-config > /dev/null 2>/dev/null && pkg-config glib-2.0; then
    142147        cat<<EOF>>Makefile.settings
    143 EFLAGS+=`pkg-config --libs glib-2.0`
    144 CFLAGS+=`pkg-config --cflags glib-2.0`
     148EFLAGS+=`pkg-config --libs glib-2.0 gmodule-2.0`
     149CFLAGS+=`pkg-config --cflags glib-2.0 gmodule-2.0`
    145150EOF
    146151        echo '#define GLIB2' >> config.h
Note: See TracChangeset for help on using the changeset viewer.