aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 17 insertions, 3 deletions
diff --git a/configure b/configure
index 20a39520..a83bd94d 100755
--- a/configure
+++ b/configure
@@ -223,7 +223,14 @@ echo 'EVENT_HANDLER=events_'$events'.o' >> Makefile.settings
detect_gnutls()
{
- if libgnutls-config --version > /dev/null 2> /dev/null; then
+ if $PKG_CONFIG --exists gnutls; then
+ cat <<EOF>>Makefile.settings
+EFLAGS+=`$PKG_CONFIG --libs gnutls`
+CFLAGS+=`$PKG_CONFIG --cflags gnutls`
+EOF
+ ssl=gnutls
+ ret=1
+ elif libgnutls-config --version > /dev/null 2> /dev/null; then
cat <<EOF>>Makefile.settings
EFLAGS+=`libgnutls-config --libs`
CFLAGS+=`libgnutls-config --cflags`
@@ -277,6 +284,8 @@ elif [ "$ssl" = "gnutls" ]; then
detect_gnutls
elif [ "$ssl" = "nss" ]; then
detect_nss
+elif [ "$ssl" = "sspi" ]; then
+ echo
elif [ "$ssl" = "openssl" ]; then
echo
echo 'No detection code exists for OpenSSL. Make sure that you have a complete'
@@ -385,8 +394,8 @@ else
fi
if [ "$gcov" = "1" ]; then
- echo "CFLAGS+=-ftest-coverage -fprofile-arcs" >> Makefile.settings
- echo "EFLAGS+=-lgcov" >> Makefile.settings
+ echo "CFLAGS+=--coverage" >> Makefile.settings
+ echo "EFLAGS+=--coverage" >> Makefile.settings
fi
if [ "$plugins" = 0 ]; then
@@ -493,6 +502,11 @@ AIX )
CYGWIN* )
echo 'Cygwin is not officially supported.'
;;
+Windows )
+ echo OUTFILE=bitlbee.exe >> Makefile.settings
+ echo LFLAGS+=-lwsock32 >> Makefile.settings
+ echo EFLAGS+=-lsecur32 >> Makefile.settings
+;;
* )
echo 'We haven'\''t tested BitlBee on many platforms yet, yours is untested. YMMV.'
echo 'Please report any problems at http://bugs.bitlbee.org/.'