Add support for netbsd in xattrs case.
authorWayne Davison <wayned@samba.org>
Wed, 2 Sep 2015 19:20:50 +0000 (12:20 -0700)
committerWayne Davison <wayned@samba.org>
Wed, 2 Sep 2015 19:20:52 +0000 (12:20 -0700)
Closes bug-suggestion 11484.

configure.ac

index 3aca2a1003b1e4e5470e895ff7e8f4d56eba1094..0478ba8820292bb2df373be0de65b6a460b68500 100644 (file)
@@ -1022,9 +1022,9 @@ if test x"$enable_xattr_support" = x"no"; then
     AC_MSG_RESULT(no)
 else
     case "$host_os" in
-    *linux*)
+    *linux*|*netbsd*)
        AC_MSG_RESULT(Using Linux xattrs)
-       AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs])
+       AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs (or equivalent)])
        AC_DEFINE(SUPPORT_XATTRS, 1)
        AC_DEFINE(NO_SYMLINK_USER_XATTRS, 1, [True if symlinks do not support user xattrs])
        AC_CHECK_LIB(attr,getxattr)