Commit Graph

31 Commits

Author SHA1 Message Date
Kevin Easton
184af728c7 Add support for OpenSSL 1.1.0 to configure script
OpenSSL 1.1.0 removed the SSLeay() function and replaced it with a macro, that AC_CHECK_LIB can't see.

Search for ERR_get_error() instead.
2017-03-17 00:38:46 +11:00
Kevin Easton
83741aca7a Add configure check for <sys/sockio.h>
Some systems need <sys/sockio.h> for the SIOCGIFCONF ioctl - this switches
to using a proper configure check for that header rather than just assuming
it'll be there if we can't find SIOCGIFCONF.  Should be more robust.
2016-03-20 23:48:31 +11:00
Kevin Easton
35b1a65f03 Remove obsolete AIM plugin
The servers for the TOC protocol used by this plugin were decomissioned
by AOL in 2012, so it can't be used any longer.
2015-09-06 23:33:36 +10:00
Kevin Easton
ff251080da Add get_kill_reason() that uses BitchX.kill, and convert all /KILL users to it
Previously only send_kill() used BitchX.kill - the other KILL commands (eg.
/WHOKILL) were using the random kick reasons.  Standardise them all on
BitchX.kill, and add this file to the source so it can be installed along
with the other random reason files.
2015-06-27 23:18:38 +10:00
Kevin Easton
5b89193679 Remove doc/Makefile (template for dummy toplevel Makefile). 2015-03-16 23:23:14 +11:00
Kevin Easton
3b80790a31 Define VERSION in configure, and add git describe output if available.
The client release version is now defined in configure.in rather than
source/irc.c.  The gitversion.sh script is used to automatically add a
suffix to the version number for versions of the client built from git.

Also removed AC_REVISION() from configure.in, because $Revision$ doesn't
make sense with git.
2015-03-16 23:04:43 +11:00
Kevin Easton
021812f6ae Respin configure and defs.h.in for configure.in r467.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@468 13b04d17-f746-0410-82c6-800466cd88b0
2013-11-16 00:09:33 +00:00
Kevin Easton
03761ec715 Respin configure and defs.h.in for new configure.in, and update ircterm.h to match.
ircterm.h now includes ncurses/ncurses.h if present, which is necessary for Cygwin.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@438 13b04d17-f746-0410-82c6-800466cd88b0
2013-11-10 12:00:08 +00:00
Kevin Easton
0fe37326a3 Rebuild configure and defs.h.in from new configure.in, and update code to match.
This simplifies the inclusion logic in ircterm.h, and updates term.c to include
term.h if available.  This removes the declarations for setupterm(), tigetstr(),
tigetnum(), tigetflag(), tgetent(), tgetstr(), tgetnum() and tgetflag() from
term.c as those should be defined in term.h or termcap.h.

This should make the system declaration of tparm() available to term.c, which
will fix a crash on NetBSD x86-64 caused by the implicit declaration of tparm()
having a return type of 'int' while the real function has a return type of
'char *'.

We have to include term.h in term.c, not in ircterm.h because term.h defines
a large number of macros, at least two of which ('lines' and 'goto_window')
conflict with names in use in the rest of the codebase.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@435 13b04d17-f746-0410-82c6-800466cd88b0
2013-11-10 05:38:06 +00:00
Kevin Easton
3de05c07c1 Only build and use the compat.c bsd_setenv/bsd_putenv/bsd_unsetenv on systems
that don't provide the POSIX setenv().

This fixes building plugins that link to compat.c on OS X (shared libraries on
OS X don't have direct access to environ).  It also reduces the binary size on
platforms which provide setenv(), which these days is most of them.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@382 13b04d17-f746-0410-82c6-800466cd88b0
2013-10-09 21:40:55 +00:00
Kevin Easton
ce86c78a21 Respin configure and defs.h.in for configure.in r273.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@274 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-14 00:57:29 +00:00
Kevin Easton
d2b9d769e8 Respin configure and defs.h.in for configure.in r270.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@271 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-14 00:24:05 +00:00
Kevin Easton
2027f75969 Move inclusion of system headers in misc.c to top, which fixes building on
recent Cygwin (including windows.h after the macros defined in modval.h
causes the build to fail due to our 'load' macro).  Reported by VICODAN.

Also define WIN32_LEAN_AND_MEAN in misc.c, which should speed up Cygwin
build times a little.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@219 13b04d17-f746-0410-82c6-800466cd88b0
2013-01-02 22:40:58 +00:00
Kevin Easton
b2c9da8fef Fix the AC_CHECK_PLUGIN_SUPPORT configure macro so that it matches FreeBSD-1.*
instead of FreeBSD-1*, which fixes building with plugins on FreeBSD-10.  Also
a similar fix for the FreeBSD-2.* case.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@217 13b04d17-f746-0410-82c6-800466cd88b0
2012-12-30 22:47:03 +00:00
Kevin Easton
18721ef0f2 Respin configure for configure.in r208.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@210 13b04d17-f746-0410-82c6-800466cd88b0
2012-06-17 23:30:20 +00:00
Kevin Easton
64605b326c Respin configure for configure.in r201.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@202 13b04d17-f746-0410-82c6-800466cd88b0
2012-05-31 12:43:57 +00:00
Kevin Easton
27c4333ef5 Respin configure and defs.h.in for configure.in r198.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@199 13b04d17-f746-0410-82c6-800466cd88b0
2012-05-28 13:54:19 +00:00
Kevin Easton
1c2581aea3 Respin configure for configure.in r196.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@197 13b04d17-f746-0410-82c6-800466cd88b0
2012-05-27 04:43:40 +00:00
Kevin Easton
6947c0492d Update configure for configure.in r193.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@194 13b04d17-f746-0410-82c6-800466cd88b0
2012-05-24 13:03:57 +00:00
Kevin Easton
241f3df842 Spin up new configure for configure.in r191.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@192 13b04d17-f746-0410-82c6-800466cd88b0
2012-05-15 14:32:26 +00:00
Kevin Easton
2f79061c0d Partially back out r183, by removing -fPIC from Cygwin builds. It's
unnecessary there and just creates a warning.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@186 13b04d17-f746-0410-82c6-800466cd88b0
2012-05-15 12:52:25 +00:00
Kevin Easton
5b95a36896 Rebuilt for aclocal.m4 changes in r183.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@185 13b04d17-f746-0410-82c6-800466cd88b0
2012-05-15 12:36:51 +00:00
Kevin Easton
e27169c15e Rebuild for configure.in r177.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@178 13b04d17-f746-0410-82c6-800466cd88b0
2012-05-11 12:32:51 +00:00
Kevin Easton
68a84226de Rebuild for configure.in r170.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@172 13b04d17-f746-0410-82c6-800466cd88b0
2012-05-10 12:41:24 +00:00
Kevin Easton
b55825ab99 Rebuild configure from configure.in rev 164.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@165 13b04d17-f746-0410-82c6-800466cd88b0
2012-05-08 14:35:53 +00:00
Kevin Easton
e2ada61548 Modernise autoconf checks for sys_siglist and strsignal.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@156 13b04d17-f746-0410-82c6-800466cd88b0
2012-02-17 12:30:55 +00:00
Kevin Easton
c648b63fa6 Regenerate configure and defs.h.in using autoconf and autoheader 2.59.
(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
2012-02-17 10:24:38 +00:00
Kevin Easton
db57885dfb Fix the definition of AC_CHECK_PLUGIN_SUPPORT in aclocal.m4, which was
making configure break on FreeBSD 9 (reported FreeBSD bitchx port maintainer
cpet <chris@officialunix.com>).



git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@78 13b04d17-f746-0410-82c6-800466cd88b0
2009-11-18 10:13:19 +00:00
Kevin Easton
708e4b6f19 Change NICKSORT_OP to NICKSORT_STAT (sorts nicks by channel status -
chanop first, then halops, voices and others).  Added /SCAN -stat
to sort nicks using NICKSORT_OP.  Removed NICKSORT_VOICE - it was broken
anyway.

Removed "scan" plugin, this functionality is now covered by /SCAN -stat.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@52 13b04d17-f746-0410-82c6-800466cd88b0
2008-06-14 06:45:05 +00:00
Kevin Easton
064c9122d0 Rebuild configure from new configure.in.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@21 13b04d17-f746-0410-82c6-800466cd88b0
2008-03-12 13:26:52 +00:00
Kevin Easton
28febcfea9 Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
2008-02-25 09:25:32 +00:00