1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
Commit Graph

46 Commits

Author SHA1 Message Date
Rodrigo Rebello
a720c3b5ef Get back to using pkg-config to check for OpenSSL
Commit 6300dfec7 removed the option to disable SSL support from the
configure script since it became a requirement, but it also removed the
use of pkg-config for finding the OpenSSL library and its dependencies.

This had the unfortunate consequence of breaking the correct detection
of library flags in many static linking scenarios. In some cases, for
example, OpenSSL might have been built with zlib, which requires `-lz`
to be passed to the linker when doing a static link of the irssi
executable. Thus, pkg-config becomes an invaluable tool in such
situations, since no guessing work is needed as the OpenSSL .pc file
provides all the necessary flags.

So, this commit re-inserts the PKG_CHECK_MODULES macro in the configure
script when looking for OpenSSL. The test using AC_CHECK_LIB remains,
but only as a last resort in case the one using pkg-config fails.

Also, because the macro AM_PATH_GLIB_2_0 contains an unconditional call
to PKG_PROG_PKG_CONFIG, the OpenSSL checks are moved so that they come
after the Glib ones in order to avoid doubly checking for the pkg-config
binary (PKG_CHECK_MODULES skips that check if it has been performed
before, but PKG_PROG_PKG_CONFIG does not).
2017-03-20 16:09:43 -03:00
Joseph Bisch
fe1ea4b80a
Fix fe-fuzz nits 2017-01-12 18:11:09 -05:00
Joseph Bisch
cf46907256
Add frontend for fuzzing
Use the following configure command:

$ ./configure --with-fuzzer --with-fuzzer-lib=/path/to/libFuzzer.a \
      CC=clang CXX=clang++

Places an irssi-fuzz in src/fe-fuzz/ after build.

Also can specify SANFLAGS to override the chosen sanitizer flags
(defaults to "-g -fsanitize=address -fsanitize-coverage=trace-pc-guard").
2017-01-07 20:01:07 -05:00
ailin-nemui
cbb931ed1d continue head 2017-01-05 13:14:15 +01:00
ailin-nemui
ea7826b0ec tag as 1.0.0 2017-01-05 13:10:08 +01:00
ailin-nemui
a96b1e4328 Merge tag '0.8.21' into integrate/0.8.21 2017-01-03 14:38:02 +01:00
ailin-nemui
7cac354161 tag as 0.8.21 2017-01-03 14:24:55 +01:00
ailin-nemui
01163710e7 Merge pull request #585 from ailin-nemui/win_seq
g_sequence backing for window list
2017-01-03 12:45:50 +01:00
Ailin Nemui
f5cbbebc2e switch for gregex and regex.h 2017-01-03 12:29:11 +01:00
LemonBoy
b5a727c87c Remove unused references to regex.h
Also remove the prototype for regex_match since it has been removed.
2017-01-02 17:50:14 +01:00
ailin-nemui
560283ba4e g_sequence backing for window list 2016-12-13 01:04:26 +01:00
François Revol
0d7b3877e4 Check for socket() in libnetwork for Haiku 2016-11-27 18:05:48 +01:00
Alexander Færøy
5a04430998
Kill support for DANE.
This patch removes support for DANE validation of TLS certificates.

There wasn't enough support in the IRC community to push for this on the
majority of bigger IRC networks. If you believe this should be
reintroduced into irssi, then please come up with an implementation that
does not rely on the libval library. It is causing a lot of troubles for
our downstream maintainers.
2016-10-22 22:04:33 +02:00
Alexander Færøy
6300dfec71
Always build irssi with TLS support.
This patch removes the optional checks for whether to build irssi with
TLS support or not. This will allow us to ship a default configuration
file where we connect to TLS enabled IRC servers out of the box.
2016-10-16 14:55:48 +02:00
ailin-nemui
ac73255483 Merge branch 'master' into integrate/0.8.20 2016-09-21 15:59:33 +02:00
ailin-nemui
13f4026ae0 tag as 0.8.20 2016-09-14 13:55:20 +02:00
ailin-nemui
9ee4803770 remove curses terminal and ncurses macro 2016-08-04 10:02:28 +02:00
ailin-nemui
affbf71f10 add silent flag to make, should stop GNU make from turning on -w 2016-05-11 11:43:08 +02:00
ailin-nemui
3376d324e1 improve perl @INC detection 2016-05-09 16:55:35 +02:00
ailin-nemui
bab60daa17 Merge tag '0.8.19' 2016-03-24 15:02:33 +01:00
ailin-nemui
c438315741 tag as 0.8.19 2016-03-23 00:24:25 +01:00
ailin-nemui
15f79a713f set version to 0.8.18a-head 2016-03-23 00:08:35 +01:00
ailin-nemui
9174ec584f Merge tag '0.8.18'
master now on 0.8.19-head
2016-02-29 22:45:54 +01:00
ailin-nemui
b91f3c3025 tag as 0.8.18 2016-02-08 21:18:04 +01:00
LemonBoy
70c7949cfe Update the configure script and INSTALL.
Now that HAVE_IPV6 is gone remove all the references from the
buildscript and documentation.
2016-01-27 14:42:50 +01:00
ailin-nemui
4af3a4731e continue head 2016-01-18 10:43:28 +01:00
ailin-nemui
38b1121989 Merge branch '0.8.18-beta1' into 0.8.18-beta2 2016-01-12 23:34:44 +01:00
ailin-nemui
d495111bde tag as 0.8.18-beta1 2015-12-15 14:06:50 +01:00
ailin-nemui
0fcfd37b83 Fix Out-of-tree build
Symlink irssi-version.h into build dir, restoring 550df27558
2015-12-09 15:00:25 +01:00
Alexander Færøy
a66bb95d0e
Use silent rules. 2015-10-02 19:49:41 +02:00
dequis
e833521cef Bump glib2 requirement from 2.6 to 2.16
This drops support for rhel/centos 5 (18 months left of its 10 year
support cycle)

Keeps support for debian 5.0 (lenny) and ubuntu 8.04 LTS, both of
which are unsupported, so bumping up to glib 2.24 wouldn't be a problem,
but it's not needed atm.
2015-09-23 13:58:22 -03:00
Alexander Færøy
29cf546ee4
Remove Garbage Collection support.
GC support was never enabled by default and nobody in the current
development team seems to care about it.
2015-09-20 21:28:14 +02:00
Alexander Færøy
1c4495ec77 Merge pull request #108 from mmuman/buildsystem-cleanup
Buildsystem cleanup
2014-12-16 19:44:20 +01:00
Alexander Færøy
3f50b8f2ad HEAD's now 0.8.18-head. 2014-10-11 11:12:43 +02:00
Alexander Færøy
df1df75ca2 Prepare for 0.8.17 2014-10-11 10:44:46 +02:00
Alexander Færøy
503cbeb330 Head is now 0.8.17-head. 2014-08-31 18:35:15 +02:00
Alexander Færøy
56bd481974 Prepare for irssi 0.8.17-rc2. 2014-08-31 18:34:30 +02:00
François Revol
c855fef064 Drop AC_ISC_POSIX which is obsolete
It's actually a NOOP in latest autoconf.

cf.
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html#index-AC_005fISC_005fPOSIX-2084
2014-07-22 23:14:12 +02:00
François Revol
1f9ad64ee5 Simplify socklen_t type detection
The previous version of AC_CHECK_TYPE() which didn't accept passing headers
is obsolete anyway. The new one can be told which headers to include.

Also test for sys/socket.h just for sanity.

cf.
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Generic-Types.html
https://svn.opendnssec.org/home/jerry/memory-usage/ldns-1.6.10/acx_nlnetlabs.m4
2014-07-22 22:50:42 +02:00
François Revol
9af3df4e9d Simplify network libraries detection with AC_SEARCH_LIBS
AC_SEARCH_LIBS first tries to link without any lib, then tries each
library, and sets $LIBS correctly in any case.

cf.
https://www.flameeyes.eu/autotools-mythbuster/autoconf/finding.html
2014-07-22 21:59:31 +02:00
David Leadbeater
663bd7ee23 Add some more helpful hints about packages to install to configure output 2014-07-07 22:41:38 +01:00
David Leadbeater
85d9fa1922 Fix compiler warning in IPv6 check
(This was why I saw a warning from the IPv4 code path, now fixed by 7949e4c).
2014-07-06 21:51:22 +01:00
David Leadbeater
beec29c305 Make configure checks able to build with -Werror
Also fix a few compiler warnings, this combined with pull #82 allows me to build
with CFLAGS="-Werror -Wall".
2014-07-06 18:56:17 +01:00
Ailin Nemui
96a292d40e Finish 256 colour support for Irssi
256 colour patch is cleaned up and the remaining cases are made work,
this includes especially Theme support, which was not implemented
before. Changes not related to colours were reverted again, making a
review of the two patches against master easier to follow.

As a byproduct of the Hex-colour code parser, the 24bit colours are
also implemented. Actually using them in the terminal is guarded by a
compile time switch (as well as a run time switch), as it breaks the
existing colour protocol and requires additional storage.

To make a seamless usage, down-conversion is provided for 8 and 16
colours.

Diverging from Tom's approach, the colour protocol is reverted back to
the original one. Unfortunately, the changes required in the Theme
engine will break the API.

For more details, please refer to the patch documentation at either
http://irssi-docs.wikispaces.com/Notes-256-Colour or
https://github.com/shabble/irssi-docs/wiki/Notes-256-Colour
2014-06-30 02:41:34 +02:00
Dave Reisner
13ea2cb622 add AC_CONFIG_MACRO_DIR([m4]), move *.m4 files to m4/
Silences notice on newer autoconf:

libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.

This helps keep the top-level build directory clean, too
2014-06-27 09:06:21 -04:00
Dave Reisner
c52bb433f0 rename configure.in -> configure.ac
Silences warning on newer autoconf:

aclocal: warning: autoconf input should be named 'configure.ac', not
'configure.in'
2014-06-27 09:06:21 -04:00