Commit Graph

47 Commits

Author SHA1 Message Date
Loïc Gomez d49f135370
Move strict gcc compilation flags to configure.ac to avoid breaking incompatible environments
- Move gcc hardening/warning/advanced warnings flags to configure.ac to avoid
  breaking incompatible environments
- Use -Warith-conversion only with gcc 10 and later
- Keep -Wundef -Wpedantic enabled globally

Signed-off-by: Loïc Gomez <bip@animanova.fr>
2024-03-20 22:16:25 +09:00
Pierre-Louis Bonicoli f797d25e06
Add -git to version string. 2022-03-10 15:57:31 +01:00
Pierre-Louis Bonicoli 0a93c8cfd3
Update version and ChangeLog for bip-0.9.3 release. 2022-03-10 15:57:25 +01:00
Loïc Gomez e7d82acfff
Update build configuration 2022-03-10 14:19:37 +01:00
Pierre-Louis Bonicoli 42ccca7849
Add -git to version string. 2021-10-12 21:33:19 +02:00
Pierre-Louis Bonicoli 49688a5aa1
Update version and ChangeLog for bip-0.9.2 release. 2021-10-12 21:33:13 +02:00
Pierre-Louis Bonicoli 12a6dbc352
Add -git to version string. 2021-10-11 18:14:43 +02:00
Pierre-Louis Bonicoli 1816044070
Update version and ChangeLog for bip-0.9.1 release. 2021-10-11 18:14:37 +02:00
Pierre-Louis Bonicoli df2a9eab17
Add -git to version string. 2021-10-11 14:50:25 +02:00
Pierre-Louis Bonicoli 0e9e61decb
Update version and ChangeLog for bip-0.9.0 release. 2021-10-11 14:49:17 +02:00
Pierre-Louis Bonicoli 75317ae17c
Add -git to version string. 2020-05-18 04:47:11 +02:00
Pierre-Louis Bonicoli 7362a46a0f
Update version and ChangeLog for bip-0.9.0-rc4 release. 2020-05-18 04:47:05 +02:00
Arnaud Cornet e224f067c1
Fix the conditional build of tests again.
Per [1], you always output the optional directory Makefile.

[1] https://www.gnu.org/software/automake/manual/html_node/Subdirectories-with-AM_005fCONDITIONAL.html#Subdirectories-with-AM_005fCONDITIONAL
2018-12-10 00:15:18 +01:00
Arnaud Cornet 936b766905
Make the tests subdirectory optional.
Otherwise build breaks when check is not installed.
2018-12-10 00:15:07 +01:00
Arnaud Cornet 2bf967bacc
Add missing OpenSSL CFLAGS/LDFLAGs to build.
Those were removed by mistake in the previous autotool refactor.
2018-12-10 00:14:08 +01:00
Arnaud Cornet 34a92dedb1
Remove OIDENTD build options.
Instead support a runtime option.
Note that existing oidentd users will have to add write_oidentd = true
in their config to keep existing behavior.
2018-12-10 00:05:44 +01:00
Arnaud Cornet 7844716af5
Fewer configure options.
Use pkg-config to detect openssl.
Eagerly use backtrace if provided by libc.
2018-12-10 00:05:29 +01:00
Arnaud Cornet 87f3415330
Fewer build options.
Eagerly depend on openssl and check, build degraded without.
2018-12-10 00:05:19 +01:00
Arnaud Cornet c0fafe669d
Simplify autotools configuration. 2018-12-10 00:03:50 +01:00
Arnaud Cornet aa35b372b4
Add unit tests.
Add an optional build dependency on check and add an initial test case.
2018-11-14 02:26:39 +01:00
Arnaud Cornet 34711f7653
Move automake file in src subdir, isolate main.
In preparation for adding a unit test directory, move Makefile.am in
src, and build a static libbip before linking a binary.
2018-11-14 02:26:27 +01:00
Pierre-Louis Bonicoli b75345d6b5
Add -git to version string. 2018-03-27 00:14:12 +02:00
Pierre-Louis Bonicoli cf144594a0
Update version and ChangeLog for bip-0.9.0-rc3 release. 2018-03-27 00:13:57 +02:00
Pierre-Louis Bonicoli 385be75f7e
Add -git to version string. 2018-02-19 20:26:34 +01:00
Pierre-Louis Bonicoli 8ceebf1fd8
Update version and ChangeLog for bip-0.9.0-rc2 release. 2018-02-19 20:25:59 +01:00
Pierre-Louis Bonicoli 0e6444198b Add -git to version string. 2016-11-12 01:36:22 +01:00
Pierre-Louis Bonicoli 19c1b631ea Update version and ChangeLog for bip-0.9.0-rc1 release. 2016-11-12 01:36:21 +01:00
Pierre-Louis Bonicoli bdec94020e Use monotonic time 2015-09-11 11:22:21 +02:00
Pierre-Louis Bonicoli 9df25a6423 Reformatting 2015-07-10 23:09:18 +02:00
Pierre-Louis Bonicoli ddf7958353 Use AC_RUN_IFELSE instead deprecated AC_TRY_RUN 2015-07-10 13:18:27 +02:00
Pierre-Louis Bonicoli fbb285fc91 Update AC_PREREQ entry: bump to 2.69 2015-07-10 13:18:01 +02:00
Marc Dequènes (Duck) acfad6dee2 Add -git to version string. 2013-10-19 15:58:19 +02:00
Marc Dequènes (Duck) a6e2985887 Update version and ChangeLog for bip-0.8.9 release. 2013-10-19 15:58:14 +02:00
Marc Dequènes (Duck) b6d9151e8c Corrected AC_INIT: package and tarname were inverted 2013-10-19 13:07:45 +02:00
Marc Dequènes (Duck) 1c3ef1d360 Really ensure a Yacc alternative is installed at build time
AC_PROG_YACC falls back to YACC = "yacc" if bison or byacc are not
found, but it does not mean it is present.

Closes #294
2013-10-19 12:36:07 +02:00
Arnaud Fontaine a46b8bd2c2 Fix GCC warnings. 2011-10-24 23:44:43 +02:00
Arnaud Fontaine ab0a41b7bb Add AM_MAINTAINER_MODE for vendors. 2011-10-24 23:40:50 +02:00
Pierre-Louis Bonicoli 559fa7ed44 don't override user var. Thanks to Alex Legler
Based on gentoo-x86/net-irc/bip/files/bip-configure.patch
See http://www.gnu.org/software/autoconf/manual/automake.html#User-Variables
If user doesn't specify CFLAGS, default value is "-Wall -Wextra -g -O2".
2011-09-14 06:31:58 +02:00
Nathan Phillip Brink 7e1c80a65a Use 'make dist' instead of 'git archive' to create a release or snapshot tarball. 2011-09-14 06:28:14 +02:00
Arnaud Cornet 4f5f08677f Enable PIE executable creation. 2010-08-07 12:10:32 +01:00
Arnaud Cornet 4d5ef34325 oidentd is not debug 2010-02-17 12:33:05 +00:00
Arnaud Cornet 92365874d4 Revert "Fix antiflood. Fixes freenode kicking us out."
This reverts commit 639e929021.
2010-02-17 12:32:22 +00:00
Arnaud Cornet 639e929021 Fix antiflood. Fixes freenode kicking us out. 2010-02-15 14:06:50 +00:00
Arnaud Cornet a932cc53a9 [BUILD] Attempt to fix autostuff 2009-11-15 20:40:17 +00:00
Arnaud Cornet 06a67e08af Update src/version.h and Changelog for release. 2009-11-15 20:21:24 +00:00
Arnaud Cornet 03ee43ca89 [BUG] fatal() on nick change on gamesurge network
Some time gamesurge sends a "foo NICK :foo" which we didn't handle
correctly.
2009-11-15 20:14:28 +00:00
Arnaud Cornet 31ae5ac0bf [autostuff] Rewrite. Use non recursive make. Drop src/config.h.in that must be populated by autoheader 2009-08-24 21:26:46 +02:00