10 Commits

Author SHA1 Message Date
Havard Eidnes
6e58332f61 atomic_operations.m4: also test these opts on time_t.
On NetBSD, time_t has for a long time now been __int64_t.
On 32-bit CPUs, the compiler is not obliged to define
__sync_bool_compare_and_swap_8, so instead this ends up
as an undefined symbol when linking rsyslog.  This makes
the code fall back to the pthread / locking method on these
systems, but at least lets the program build.
2022-10-07 21:46:08 +02:00
Janmejay Singh
5f379be08b ax_check_define macro file was missed, added that 2014-12-17 11:40:47 +01:00
Rainer Gerhards
6757ec6dd4 make rsyslogd -v output work in regard to 64 bit atomic buildin info 2014-06-04 15:25:29 +02:00
Rainer Gerhards
ed36822e37 Merge branch 'v4-stable' into v5-stable
Conflicts:

	configure.ac
	runtime/cfsysline.c
	tools/ompipe.c
2010-10-19 12:54:38 +02:00
Rainer Gerhards
0a24b3afc0 fixing some compile problems on FreeBSD 2010-10-19 12:39:48 +02:00
Rainer Gerhards
113915eb9d worked around an issue where omfile failed to compile on32 bit platforms
under some circumstances (this smells like a gcc problem, but a simple
solution was available). Thanks to Kenneth Marshall for some advice.
2009-12-02 17:04:04 +01:00
Michael Biebl
24d45117bd Use automake 1.11 silent-rules support
Drop shave and use automake 1.11 silent-rules
http://www.flameeyes.eu/autotools-mythbuster/automake/silent.html
2009-09-04 17:35:34 +02:00
Michael Biebl
1bbd2b07f8 Add shave support
shave tranforms the verbose autotools output into a pretty Kbuild-like
one which makes it easier to spot warnings.

See also
http://damien.lespiau.name/blog/2009/02/18/shave-making-the-autotools-output-sane/
git clone git://git.lespiau.name/shave

By default, shave is disabled and you have to explicitly enable it via
./configure --enable-shave.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2009-05-19 07:31:21 +02:00
Michael Biebl
1ca5268698 Separate macro file for atomic operations
To unclutter configure.ac and to make it easier re-usable, move the check
for atomic operations into a separate m4 macro file and call the macro
RS_ATOMIC_OPERATIONS (RS for RSyslog)
2009-02-24 13:09:45 +01:00
Michael Biebl
6685cd0c48 Split the m4 macros into a separate directory 2009-02-24 13:09:45 +01:00