aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 17 insertions, 2 deletions
diff --git a/configure b/configure
index d31109f2..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
@@ -106,7 +106,6 @@ MANDIR=$mandir
DATADIR=$datadir
PLUGINDIR=$plugindir
CONFIG=$config
-IPCSOCKET=$ipcsocket
INCLUDEDIR=$includedir
PCDIR=$pcdir
@@ -329,6 +328,14 @@ fi;
echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings
+for i in /lib /usr/lib /usr/local/lib; do
+ if [ -e $i/libresolv.a ]; then
+ echo '#define HAVE_RESOLV_A' >> config.h
+ echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings
+ break
+ fi
+done
+
STORAGES="text xml"
if [ "$ldap" = "auto" ]; then
@@ -338,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
@@ -464,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.'
;;