mirror_zfs/config
Ned Bass 5ec44a37c3 Correctly detect atomic64_cmpxchg support
The RHEL5 2.6.18-194.7.1.el5 kernel added atomic64_cmpxchg to
asm-x86_64/atomic.h.  That macro is defined in terms of cmpxchg which
is provided by asm/system.h. However, asm/system.h is not #included by
atomic.h in this kernel nor by the autoconf test for atomic64_cmpxchg, so
the test failed with "implicit declaration of function 'cmpxchg'". This
leads the build system to erroneously conclude that the kernel does not
define atomic64_cmpxchg and enable the built-in definition.  This in
turn produces a '"atomic64_cmpxchg" redefined' build warning which is fatal
when building with --enable-debug.  This commit fixes this by including
asm/system.h in the autoconf test.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2010-08-08 13:48:03 -07:00
..
config.awk Allow spl_config.h to be included by dependant packages (updated) 2010-03-22 14:45:33 -07:00
config.guess Update config.guess to recognize additional distros 2010-07-02 14:48:27 -07:00
config.sub * : Add autogen.sh products. 2008-11-24 23:49:18 +00:00
deb.am Add Debian and Slackware style packaging via alien 2010-07-27 15:52:34 -07:00
depcomp * : Add autogen.sh products. 2008-11-24 23:49:18 +00:00
install-sh * : Add autogen.sh products. 2008-11-24 23:49:18 +00:00
ltmain.sh Add support for 'make -s' silent builds 2010-03-26 15:41:17 -07:00
missing * : Add autogen.sh products. 2008-11-24 23:49:18 +00:00
rpm.am Add Debian and Slackware style packaging via alien 2010-07-27 15:52:34 -07:00
Rules.am Only make compiler warnings fatal with --enable-debug 2010-06-30 17:05:36 -07:00
spl-build.m4 Correctly detect atomic64_cmpxchg support 2010-08-08 13:48:03 -07:00
spl-meta.m4 Public Release Prep 2010-05-17 15:18:00 -07:00
tgz.am Add Debian and Slackware style packaging via alien 2010-07-27 15:52:34 -07:00