zfs/config
Brian Behlendorf fd7578215e Configure checks for kernel build options incompatible with the license
Twice now I've been bitten by building agaist a kernel which is
configured such that it is incompatible with the CDDL license.  These
build failures don't occur until the linking phase at which point they
simply callout the offending symbol.  No location information can be
provided at this point so it often can be confusing what the problem is
particularly when building against a new kernel for the first time.

To help address this I've added a configure check which can be extended
over time to detect known kernel config options which if set will break
the ZFS build.  Currently I have just added CONFIG_DEBUG_LOCK_ALLOC which
makes mutex's GPL-only and is on by default in the RHEL6 alpha builds.
I know for a fact there are other similiar options which can be added
as they are encountered.
2010-03-08 10:27:42 -08:00
..
Makefile.am Use old autoconf stratagy 2008-12-15 16:27:22 -08:00
Rules.am Remove remaining compiler flags for disabling specific compiler checks. 2009-03-12 10:55:56 -07:00
kernel-bdev-block-device-operations.m4 Add autoconf checks for zvol integration. 2009-11-16 10:31:10 -08:00
kernel-bdev-logical-size.m4 Linux 2.6.31 logical block size compatibility. 2009-11-12 12:49:01 -08:00
kernel-bio-empty-barrier.m4 Required autoconf support for vdev_disk integration with 2.6.30 kernels. 2009-07-29 17:14:23 -07:00
kernel-bio-end-io-t-args.m4 Required autoconf support for vdev_disk integration with 2.6.30 kernels. 2009-07-29 17:14:23 -07:00
kernel-bio-rw-syncio.m4 Additional ZVOL compatibility autoconf checks and zconfig ZVOL sanity test. 2009-11-20 10:04:56 -08:00
kernel-blk-end-request.m4 Additional ZVOL compatibility autoconf checks and zconfig ZVOL sanity test. 2009-11-20 10:04:56 -08:00
kernel-blk-fetch-request.m4 Add autoconf checks for zvol integration. 2009-11-16 10:31:10 -08:00
kernel-blk-requeue-request.m4 Add autoconf checks for zvol integration. 2009-11-16 10:31:10 -08:00
kernel-blk-rq-bytes.m4 Additional ZVOL compatibility autoconf checks and zconfig ZVOL sanity test. 2009-11-20 10:04:56 -08:00
kernel-blk-rq-pos.m4 Add autoconf checks for zvol integration. 2009-11-16 10:31:10 -08:00
kernel-blk-rq-sectors.m4 Add autoconf checks for zvol integration. 2009-11-16 10:31:10 -08:00
kernel-fmode-t.m4 Add a check for the fmode_t type. 2009-12-23 14:42:32 -08:00
kernel-get-disk-ro.m4 Add autoconf checks for zvol integration. 2009-11-16 10:31:10 -08:00
kernel-invalidate-bdev-args.m4 Required autoconf support for vdev_disk integration with 2.6.30 kernels. 2009-07-29 17:14:23 -07:00
kernel-open-bdev-exclusive.m4 Required autoconf support for vdev_disk integration with 2.6.30 kernels. 2009-07-29 17:14:23 -07:00
kernel-rq-for-each_segment.m4 Additional ZVOL compatibility autoconf checks and zconfig ZVOL sanity test. 2009-11-20 10:04:56 -08:00
kernel-rq-is_sync.m4 Add autoconf checks for zvol integration. 2009-11-16 10:31:10 -08:00
kernel.m4 Configure checks for kernel build options incompatible with the license 2010-03-08 10:27:42 -08:00
rpm.am Distro friendly build system / packaging improvements. 2009-07-01 10:53:05 -07:00
user-arch.m4 Only powerpc64 is currently supported not powerpc. 2009-06-09 14:20:44 -07:00
user-ioctl.m4 Properly detect and set HAVE_GPL_ONLY_SYMBOLS based on license 2009-02-03 09:59:54 -08:00
user-libblkid.m4 Additional build system update for libefi library. 2009-10-14 15:47:41 -07:00
user-libshare.m4 Moving addition configure checks to m4 macros 2008-12-15 16:46:34 -08:00
user-libuuid.m4 Additional build system update for libefi library. 2009-10-14 15:47:41 -07:00
user-zlib.m4 Update build system for libblkid integration 2009-10-15 16:25:18 -07:00
user.m4 Update build system for libblkid integration 2009-10-15 16:25:18 -07:00
zfs-build.m4 Configure checks for kernel build options incompatible with the license 2010-03-08 10:27:42 -08:00
zfs-meta.m4 Configure checks for kernel build options incompatible with the license 2010-03-08 10:27:42 -08:00