aboutsummaryrefslogtreecommitdiffstats
path: root/config/spl-meta.m4
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-03-17 14:55:59 -0700
committerBrian Behlendorf <[email protected]>2009-03-17 14:55:59 -0700
commit0cbaeb117ae0e77d05c7709a4f5dbfad9daa799f (patch)
tree81a09cc96cc7ad76168081200834ac03614fae82 /config/spl-meta.m4
parente11d6c5f50ff1cb9a75f5c6a6895846f73564422 (diff)
Allow spl_config.h to be included by dependant packages
We need dependent packages to be able to include spl_config.h so they can leverage the configure checks the SPL has done. This is important because several of the spl headers need the results of these checks to work properly. Unfortunately, the autoheader build product is always private to a particular build and defined certain common things. (PACKAGE, VERSION, etc). This prevents other packages which also use autoheader from being include because the definitions conflict. To avoid this problem the SPL build system leverage AH_BOTTOM to include a spl_unconfig.h at the botton of the autoheader build product. This custom include undefs all known shared symbols to prevent the confict. This does however mean that those definition are also not availble to the SPL package either. The SPL package therefore uses the equivilant SPL_META_* definitions.
Diffstat (limited to 'config/spl-meta.m4')
-rw-r--r--config/spl-meta.m411
1 files changed, 0 insertions, 11 deletions
diff --git a/config/spl-meta.m4 b/config/spl-meta.m4
index 54c9ac38f..84b41757d 100644
--- a/config/spl-meta.m4
+++ b/config/spl-meta.m4
@@ -7,17 +7,6 @@ dnl # Chris Dunlap <[email protected]>
dnl # Brian Behlendorf <[email protected]>
dnl #
AC_DEFUN([SPL_AC_META], [
-
- AH_BOTTOM([
-#undef PACKAGE
-#undef PACKAGE_BUGREPORT
-#undef PACKAGE_NAME
-#undef PACKAGE_STRING
-#undef PACKAGE_TARNAME
-#undef PACKAGE_VERSION
-#undef STDC_HEADERS
-#undef VERSION])
-
AC_MSG_CHECKING([metadata])
META="$srcdir/META"