eval set -- $ac_configure_args
for arg; do
case $arg in
+ --*dir=* ) ;;
+ -C | --cache-file=* ) ;;
+ --prefix=* | --*-prefix=* ) ;;
--enable-dist ) ;;
--with-release=* ) ;;
--with-kmp-moddir=* ) ;;
--enable-tests | --disable-tests ) ;;
--enable-utils | --disable-utils ) ;;
--enable-iokit | --disable-iokit ) ;;
+ --enable-dlc | --disable-dlc ) ;;
* ) CONFIGURE_ARGS="$CONFIGURE_ARGS '$arg'" ;;
esac
done
fi
if test x$enable_iokit != xyes ; then
RPMBINARGS="$RPMBINARGS --without lustre_iokit"
- RPMSRCARGS="$RPMSRCARGS --without lustre_iokit"
fi
-if test x$BUILD_DLC != xyes ; then
- RPMBINARGS="$RPMBINARGS --without lnet_dlc"
- RPMSRCARGS="$RPMSRCARGS --without lnet_dlc"
+if test x$USE_DLC = xyes ; then
+ RPMBINARGS="$RPMBINARGS --with lnet_dlc"
fi
RPMBUILD_BINARY_ARGS=$RPMBINARGS
LB_CONFIG_MPITESTS
LB_CONFIG_SERVERS
+AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], [])
+if test "x$RST2MAN" = "x"; then
+ AC_MSG_ERROR(
+ [rst2man is needed to build the man pages. Install python-docutils.])
+fi
+
# Tests depends from utils (multiop from liblustreapi)
AS_IF([test "x$enable_utils" = xno], [enable_tests="no"])