2. Fix for ltest build problem
# llite/xattr.c
AC_CHECK_HEADERS([linux/xattr_acl.h])
+# use universal lustre headers
+# i.e: include/obd.h instead of include/linux/obd.h
+AC_CHECK_FILE($PWD/lustre/include/obd.h, [AC_DEFINE(UNIV_LUSTRE_HEADERS, 1, [Use universal lustre headers])])
+
# Super safe df
AC_ARG_ENABLE([mindf],
AC_HELP_STRING([--enable-mindf],
# See the file COPYING in this distribution
SUBDIRS = linux lustre
+
+linuxdir = $(includedir)
+
+if UTILS
+linux_HEADERS = lustre_idl.h
+endif
+
EXTRA_DIST = ioctl.h liblustre.h lprocfs_status.h lustre_cfg.h \
lustre_commit_confd.h lustre_debug.h lustre_dlm.h \
lustre_export.h lustre_fsfilt.h lustre_ha.h \
# This code is issued under the GNU General Public License.
# See the file COPYING in this distribution
-linuxdir = $(includedir)/linux
-
-if UTILS
-linux_HEADERS = lustre_idl.h
-endif
-
EXTRA_DIST = lprocfs_status.h lustre_debug.h lustre_lib.h types.h\
lustre_dlm.h lustre_handles.h lustre_net.h obd_class.h obd_support.h \
lustre_log.h lustre_compat25.h lustre_fsfilt.h lustre_mds.h obd.h \