zfs/config
Brian Behlendorf e96be1888a Allow zfs_config.h to be included by dependant packages (updated)
We need dependent packages to be able to include zfs_config.h to
build properly.  This was partially solved previously be using
AH_BOTTOM to #undef common #defines (PACKAGE, VERSION, etc) which
autoconf always adds and cannot be easily removed.  This solution
works as long as the zfs_config.h is included before your projects
config.h.  That turns out to be easier said than done.  In particular,
this is a problem when your package includes its config.h using the
-include gcc option which ensures the first thing included is your
config.h.

To handle all cases cleanly I have removed the AH_BOTTOM hack and
replaced it with an AC_CONFIG_HEADERS command.  This command runs
immediately after zfs_config.h is written and with a little awk-foo
it strips the offending #defines from the file.  This eliminates
the problem entirely and makes header safe for inclusion.
2010-03-22 16:42:18 -07:00
..
Makefile.am Use old autoconf stratagy 2008-12-15 16:27:22 -08:00
Rules.am Allow zfs_config.h to be included by dependant packages (updated) 2010-03-22 16:42:18 -07:00
config.awk Allow zfs_config.h to be included by dependant packages (updated) 2010-03-22 16:42:18 -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 Allow zfs_config.h to be included by dependant packages (updated) 2010-03-22 16:42:18 -07: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 Remove udev dependency when running in-tree 2010-03-11 13:56:20 -08:00
zfs-meta.m4 Configure checks for kernel build options incompatible with the license 2010-03-08 10:27:42 -08:00