aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 16 insertions, 2 deletions
diff --git a/configure b/configure
index 07e9f9d0..bb7ddd7d 100755
--- a/configure
+++ b/configure
@@ -17,7 +17,7 @@ plugindir='$prefix/lib/bitlbee/'
includedir='$prefix/include/bitlbee/'
libevent='/usr/'
pidfile='/var/run/bitlbee.pid'
-ipcsocket='/var/run/bitlbee'
+ipcsocket='/var/run/bitlbee.sock'
pcdir='$prefix/lib/pkgconfig'
msn=1
@@ -27,6 +27,7 @@ yahoo=1
debug=0
strip=1
+gcov=0
ipv6=1
events=glib
@@ -66,6 +67,7 @@ Option Description Default
--debug=0/1 Disable/enable debugging $debug
--strip=0/1 Disable/enable binary stripping $strip
+--gcov=0/1 Disable/enable test coverage reporting $gcov
--ipv6=0/1 IPv6 socket support $ipv6
@@ -104,7 +106,6 @@ MANDIR=$mandir
DATADIR=$datadir
PLUGINDIR=$plugindir
CONFIG=$config
-IPCSOCKET=$ipcsocket
INCLUDEDIR=$includedir
PCDIR=$pcdir
@@ -344,6 +345,11 @@ fi
if [ "$ldap" = 0 ]; then
echo "#undef WITH_LDAP" >> config.h
elif [ "$ldap" = 1 ]; then
+ echo
+ echo 'LDAP support is a work in progress and does NOT work AT ALL right now.'
+ echo
+ exit 1
+
echo "#define WITH_LDAP 1" >> config.h
STORAGES="$STORAGES ldap"
fi
@@ -373,6 +379,11 @@ else
fi;
fi
+if [ "$gcov" = "1" ]; then
+ echo "CFLAGS+=-ftest-coverage -fprofile-arcs" >> Makefile.settings
+ echo "EFLAGS+=-lgcov" >> Makefile.settings
+fi
+
echo
if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then
nick=`bzr nick`
@@ -465,6 +476,9 @@ SunOS )
echo 'EFLAGS+=-lresolv -lnsl -lsocket' >> Makefile.settings
echo 'STRIP=\# skip strip' >> Makefile.settings
;;
+AIX )
+ echo 'EFLAGS+=-Wl,-brtl' >> Makefile.settings
+;;
CYGWIN* )
echo 'Cygwin is not officially supported.'
;;