diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-02 12:38:33 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2006-03-02 12:38:33 +0100 |
commit | e506d6ce40dd357e29a7c856ab2b664df69cf015 (patch) | |
tree | 93c304f6391119afd26f12495356f98289f1880a /configure | |
parent | 9a1555dc8521f0973347911bcb26d1038259f967 (diff) |
Install bitlbee's header files and a pkg-config file. This means
that 3rd-parties can write support for additional protocols in BitlBee.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -16,6 +16,8 @@ config='/var/lib/bitlbee/' pidfile='/var/run/bitlbee.pid' ipcsocket='/var/run/bitlbee' plugindir='$prefix/lib/bitlbee' +pcdir='$prefix/lib/pkgconfig' +includedir='$prefix/include/bitlbee' msn=1 jabber=1 @@ -79,6 +81,8 @@ config=`eval echo "$config/" | sed 's/\/\{1,\}/\//g'` plugindir=`eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g'` pidfile=`eval echo "$pidfile" | sed 's/\/\{1,\}/\//g'` ipcsocket=`eval echo "$ipcsocket" | sed 's/\/\{1,\}/\//g'` +includedir=`eval echo "$includedir" | sed 's/\/\{1,\}/\//g'` +pcdir=`eval echo "$pcdir" | sed 's/\/\{1,\}/\//g'` cat<<EOF>Makefile.settings ## BitlBee settings, generated by configure @@ -90,6 +94,8 @@ DATADIR=$datadir PLUGINDIR=$plugindir CONFIG=$config IPCSOCKET=$ipcsocket +INCLUDEDIR=$includedir +PCDIR=$pcdir ARCH=$arch CPU=$cpu @@ -310,6 +316,19 @@ if [ -n "$BITLBEE_VERSION" ]; then echo fi +cat <<EOF>bitlbee.pc +prefix=$prefix +includedir=$includedir + +Name: bitlbee +Description: IRC to IM gateway +Requires: glib-2.0 +Version: $BITLBEE_VERSION +Libs: +Cflags: -I\${includedir} + +EOF + protocols='' protoobjs='' |