don't build wiretest with build utils.
b=15642
i=adilger
i=shadow
AC_HELP_STRING([--disable-liblustre-acl],
[disable ACL support for liblustre]),
[],[enable_liblustre_acl=yes])
-if test x$enable_liblustre != xyes ; then
- enable_liblustre_acl='no'
-fi
AC_MSG_RESULT([$enable_liblustre_acl])
-if test x$enable_liblustre_acl != xno ; then
+if test x$enable_liblustre_acl = xyes ; then
AC_DEFINE(LIBLUSTRE_POSIX_ACL, 1, Liblustre Support ACL-enabled MDS)
fi
bin_scripts = llstat llobdstat plot-llstat
if UTILS
-noinst_PROGRAMS = wirecheck obdio obdbarrier
+noinst_PROGRAMS = obdio obdbarrier
+EXTRA_PROGRAMS = wirecheck
# mount only finds helpers in /sbin
rootsbin_PROGRAMS = mount.lustre
sbin_PROGRAMS = mkfs.lustre tunefs.lustre lctl wiretest \
CHECK_MEMBER(lustre_disk_data, ldd_params);
}
-#ifdef LIBLUSTRE_POSIX_ACL
static void
check_posix_acl_xattr_entry(void)
{
CHECK_MEMBER_TYPEDEF(posix_acl_xattr_header, a_version);
CHECK_MEMBER_TYPEDEF(posix_acl_xattr_header, a_entries);
}
-#endif
static void
check_quota_adjust_qunit(void)
check_mgs_target_info();
check_lustre_disk_data();
printf("#ifdef LIBLUSTRE_POSIX_ACL\n");
+#ifndef LIBLUSTRE_POSIX_ACL
+#error build generator without LIBLUSTRE_POSIX_ACL defined - produce wrong check code.
+#endif
check_posix_acl_xattr_entry();
check_posix_acl_xattr_header();
printf("#endif\n");