summaryrefslogtreecommitdiffstats
path: root/zfs_config.h.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-12-16 13:47:30 -0800
committerBrian Behlendorf <[email protected]>2011-02-04 16:14:29 -0800
commitc5d915f4237bbd1f5623b5044a1924a3cb91852b (patch)
treeb5896a1029ca271541d70a2ba9037f43d98caf2d /zfs_config.h.in
parent3fb1fcdea167d705e050a0383ec61b95fbe8a0ed (diff)
Minimal libshare infrastructure
ZFS even under Solaris does not strictly require libshare to be available. The current implementation attempts to dlopen() the library to access the needed symbols. If this fails libshare support is simply disabled. This means that on Linux we only need the most minimal libshare implementation. In fact just enough to prevent the build from failing. Longer term we can decide if we want to implement a libshare library like Solaris. At best this would be an abstraction layer between ZFS and NFS/SMB. Alternately, we can drop libshare entirely and directly integrate ZFS with Linux's NFS/SMB. Finally the bare bones user-libshare.m4 test was dropped. If we do decide to implement libshare at some point it will surely be as part of this package so the check is not needed.
Diffstat (limited to 'zfs_config.h.in')
-rw-r--r--zfs_config.h.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/zfs_config.h.in b/zfs_config.h.in
index e1532f635..f8e218259 100644
--- a/zfs_config.h.in
+++ b/zfs_config.h.in
@@ -87,9 +87,6 @@
/* Define if you have selinux */
#undef HAVE_LIBSELINUX
-/* Define to 1 if 'libshare' library available */
-#undef HAVE_LIBSHARE
-
/* Define if you have libuuid */
#undef HAVE_LIBUUID