AC_DEFUN([LC_PROG_LINUX],
[LC_CONFIG_BACKINGFS
LC_CONFIG_PINGER
-LC_CONFIG_OBD_BUFFER_SIZE
LC_CONFIG_SNAPFS
LC_CONFIG_SMFS
AC_ARG_ENABLE([liblustre],
AC_HELP_STRING([--disable-liblustre],
[disable building of Lustre library]),
- [],[enable_liblustre=$enable_libsysio])
+ [],[enable_liblustre=$with_sysio])
AC_MSG_RESULT([$enable_liblustre])
+# only build sysio if liblustre is built
+with_sysio="$enable_liblustre"
AC_MSG_CHECKING([whether to build mpitests])
AC_ARG_ENABLE([mpitests],
# other configure checks
#
AC_DEFUN([LC_CONFIGURE],
-[# include/liblustre.h
+[LC_CONFIG_OBD_BUFFER_SIZE
+
+# include/liblustre.h
AC_CHECK_HEADERS([asm/page.h sys/user.h stdint.h])
# liblustre/llite_lib.h
build_obj_list ../lvfs liblvfs.a
# portals components libs
-build_obj_list ../portals/utils libuptlctl.a
+build_obj_list ../../portals/utils libuptlctl.a
if [ "x$CRAY_PORTALS_PATH" = "x" ]; then
- build_obj_list ../portals/unals libtcpnal.a
- build_obj_list ../portals/portals libportals.a
+ build_obj_list ../../portals/unals libtcpnal.a
+ build_obj_list ../../portals/portals libportals.a
else
build_cray_portals_obj_list $CRAY_PORTALS_PATH/lib_TV/snos64/libportals.a
fi