Skip to content

Commit 1ef2ad0

Browse files
committed
fs: do not build the fs components configured with --disable-io-ompio
1 parent 6c6e35b commit 1ef2ad0

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

ompi/mca/fs/configure.m4

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# -*- shell-script -*-
22
#
3-
# Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
3+
# Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
4+
# Copyright (c) 2016 Research Organization for Information Science
5+
# and Technology (RIST). All rights reserved.
46
#
57
# $COPYRIGHT$
68
#
@@ -13,10 +15,14 @@
1315
# -------------------------------------------
1416
AC_DEFUN([MCA_ompi_fs_CONFIG],
1517
[
16-
# An AC-ARG-ENABLE for mpi-io was set in ompi/mca/io/configure.m4.
17-
# If it's no, we shouldn't bother building anything in fcoll.
18-
AS_IF([test "$enable_mpi_io" != "no"],
19-
[want_mpi_io=1],
20-
[want_mpi_io=0])
21-
MCA_CONFIGURE_FRAMEWORK([$1], [$2], [$want_mpi_io])
18+
OPAL_VAR_SCOPE_PUSH([want_io_ompio])
19+
20+
AS_IF([test "$enable_mpi_io" != "no" &&
21+
test "$enable_io_ompio" != "no"],
22+
[want_io_ompio=1],
23+
[want_io_ompio=0])
24+
25+
MCA_CONFIGURE_FRAMEWORK([$1], [$2], [$want_io_ompio])
26+
27+
OPAL_VAR_SCOPE_POP
2228
])

0 commit comments

Comments
 (0)