Now uses AC_LINK_IFELSE() to link a program that calls res_mkquery(),
after defining BIND_8_COMPAT / BIND_4_COMPAT as per misc.c.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@193 13b04d17-f746-0410-82c6-800466cd88b0
that parses AF_UNIX addresses in getaddrinfo() or something.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@189 13b04d17-f746-0410-82c6-800466cd88b0
and res happened to be NULL).
Also add missing freeaddrinfo() call.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@188 13b04d17-f746-0410-82c6-800466cd88b0
to the existing BIND_8_COMPAT fix for OSX.
Oh how I hate the /nslookup function.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@187 13b04d17-f746-0410-82c6-800466cd88b0
Required for plugins to work on x86-64.
Thanks to snadge for this patch.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@183 13b04d17-f746-0410-82c6-800466cd88b0
IPv6 enabled. This fixes an issue reported by packet, where IPv4 conections
don't work on FreeBSD when the client is built with IPv6 support and you
have a local hostname set (with /hostname, -H or IRCHOST).
Also ensure we clear the full size of the 'server' address structure - doesn't
fix a known problem but is a defensive measure.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@181 13b04d17-f746-0410-82c6-800466cd88b0
This fixes making IPv4 connections on BSD when the client is compiled with
IPv6 enabled.
Thanks to brabes on sourceforge and snadge@freenode for originally tracking
this down.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@176 13b04d17-f746-0410-82c6-800466cd88b0
is available.
In the long-run sig.inc should be built by a Makefile target.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@169 13b04d17-f746-0410-82c6-800466cd88b0
(fixes a nasty configure spew on FreeBSD, reported by flashback).
Add check for sys/socket.h, replace unused checks for netinet/in_systm.h and
sys/in_system.h with a check for netinet/in.h. Remove unused check for
sys/syslimits.h.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@168 13b04d17-f746-0410-82c6-800466cd88b0
makes packaging the client for .deb and .rpm easier.
Reported separately by nyet and VICODAN.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@164 13b04d17-f746-0410-82c6-800466cd88b0
IPv4 even on an IPv6-enabled client. This fixes /detach and wserv when
compiling with --enable-ipv6.
This does also mean that the internal identd, if used, won't listen on IPv6
either. This isn't a problem yet, since the internal identd is used only on
WINNT and we don't support IPv6 there yet.
This will also need tweaking to support initiating DCC-over-IPv6.
Thanks to snadge and packet for working on this bug.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@162 13b04d17-f746-0410-82c6-800466cd88b0
(Applies FreeBSD 9 build fix from rev 152 to configure). May also fix
strlcpy() detection with icc.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@154 13b04d17-f746-0410-82c6-800466cd88b0
aclocal.m4 with the fix. This improves upon the original fix in revision 78,
and should actually fix the problem this time.
Reported by cpet and VICODAN.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@152 13b04d17-f746-0410-82c6-800466cd88b0
huge amount of work on each keystroke if you have a long server list and
start it up disconnected (-N).
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@150 13b04d17-f746-0410-82c6-800466cd88b0
connect_by_number(). Make function static since it is only used in one
source file.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@145 13b04d17-f746-0410-82c6-800466cd88b0