Files
mirror_zfs/include/sys
Brian Behlendorf 16b719f006 Allow spl_config.h to be included by dependant packages (updated)
We need dependent packages to be able to include spl_config.h to
build properly.  This was partially solved in commit 0cbaeb1 by 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 spl_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 spl_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.

Also in this change I have removed the few places in the code where
spl_config.h is included.  It is now added to the gcc compile line
to ensure the config results are always available.

Finally, I have also disabled the verbose kernel builds.  If you
want them back you can always build with 'make V=1'.  Since things
are working now they don't need to be on by default.
2010-03-22 14:45:33 -07:00
..
2009-07-09 15:00:25 -07:00
2008-03-08 00:58:32 +00:00
2009-01-09 14:04:13 -08:00
2008-03-12 23:48:28 +00:00
2009-10-30 13:58:51 -07:00
2009-01-06 09:47:00 -08:00
2009-01-09 16:04:44 -08:00
2008-03-05 00:58:54 +00:00
2009-01-09 16:04:44 -08:00
2008-03-05 00:58:54 +00:00
2009-10-30 13:58:51 -07:00
2010-01-08 09:37:54 -08:00
2008-03-14 00:04:01 +00:00
2008-03-14 00:04:01 +00:00
2009-01-09 09:47:27 -08:00
2008-03-14 00:04:01 +00:00
2008-03-15 00:05:38 +00:00
2009-01-09 09:47:27 -08:00
2008-03-14 00:04:01 +00:00
2009-10-30 13:58:51 -07:00
2009-02-17 16:30:58 -08:00
2009-01-09 14:04:13 -08:00
2008-03-13 20:41:29 +00:00
2008-03-15 00:05:38 +00:00
2008-03-13 20:41:29 +00:00
2008-03-12 23:48:28 +00:00
2009-02-19 11:26:17 -08:00
2008-12-23 13:32:07 -08:00
2008-12-23 13:18:39 -08:00
2008-12-23 15:40:20 -08:00
2008-12-23 13:32:07 -08:00
2008-03-14 00:04:01 +00:00
2008-03-08 00:18:21 +00:00
2008-03-14 00:04:01 +00:00
2009-11-10 14:06:57 -08:00
2008-03-12 23:48:28 +00:00