-SUBDIRS := @LDISKFS_SUBDIR@ . @LIBSYSIO_SUBDIR@ @SNMP_SUBDIR@ @LUSTREIOKIT_SUBDIR@ lnet lustre
+SUBDIRS := @LDISKFS_SUBDIR@ . @LIBSYSIO_SUBDIR@ @SNMP_SUBDIR@ lnet lustre
DIST_SUBDIRS := @SNMP_DIST_SUBDIR@ libsysio ldiskfs lnet lustre
SOURCES_SUBDIRS := @LDISKFS_SUBDIR@ lnet lustre
RPM_SUBDIRS := @LDISKFS_SUBDIR@
])
#
-# LB_PATH_LUSTREIOKIT
-#
-# Handle internal/external lustre-iokit
-#
-AC_DEFUN([LB_PATH_LUSTREIOKIT],
-[AC_ARG_WITH([],
- AC_HELP_STRING([--with-lustre-iokit=path],
- [set path to lustre-iokit source (default is included lustre-iokit)]),
- [],[
- with_lustre_iokit='yes'
- ])
-AC_MSG_CHECKING([location of lustre-iokit])
-enable_lustre_iokit="$with_lustre_iokit"
-case x$with_lustre_iokit in
- xyes)
- AC_MSG_RESULT([internal])
- LB_CHECK_FILE([$srcdir/lustre-iokit/ior-survey/ior-survey],[],[
- AC_MSG_ERROR([A complete internal lustre-iokit was not found.])
- ])
- LUSTREIOKIT_SUBDIR="lustre-iokit"
- LUSTREIOKIT="$PWD/lustre-iokit"
- ;;
- xno)
- AC_MSG_RESULT([disabled])
- ;;
- *)
- AC_MSG_RESULT([$with_lustre_iokit])
- LB_CHECK_FILE([$with_lustre_iokit/ior-survey/ior_survey],[],[
- AC_MSG_ERROR([A complete (built) external lustre-iokit was not found.])
- ])
- LUSTREIOKIT="$with_lustre_iokit"
- with_lustre_iokit="yes"
- ;;
-esac
-AC_SUBST(LUSTREIOKIT_SUBDIR)
-# We have to configure even if we don't build here for make dist to work
-AC_CONFIG_SUBDIRS(lustre-iokit)
-])
-
-#
# LB_PATH_LDISKFS
#
# Handle internal/external ldiskfs
LB_PATH_LIBSYSIO
LB_PATH_SNMP
LB_PATH_LDISKFS
-LB_PATH_LUSTREIOKIT
LC_CONFIG_LIBLUSTRE
LN_CONFIGURE
else
REQUIRED_DIRS="build lnet lustre"
OPTIONAL_DIRS="snmp portals"
- CONFIGURE_DIRS="libsysio lustre-iokit ldiskfs"
+ CONFIGURE_DIRS="libsysio ldiskfs"
fi
for dir in $REQUIRED_DIRS ; do
libsysiotag="HEAD"
snmptag="HEAD"
ldiskfstag="HEAD"
-lustreiokittag="HEAD"
dmutag=""
hg_base_url="http://www.wizy.org/mercurial"
cvs_cmd snmp lustre-snmp "$snmptag"
cvs_cmd lustre lustre-core "$lustretag"
cvs_cmd ldiskfs ldiskfs "$ldiskfstag"
-cvs_cmd lustre-iokit lustre-iokit "$lustreiokittag"
hg_cmd zfs-lustre "$hg_base_url" "$dmutag"
[ -a ldiskfs/build ] || ln -sf ../build ldiskfs/build