Skip to content

Commit aa7e852

Browse files
committed
common/ompio: files are only compiled in case MPI I/O is requested
fixes: #1932
1 parent 19fe5ca commit aa7e852

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

ompi/mca/common/ompio/Makefile.am

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
# $HEADER$
1919
#
2020

21+
if OMPI_PROVIDE_MPI_FILE_INTERFACE
22+
2123
headers = \
2224
common_ompio_print_queue.h \
2325
common_ompio.h
@@ -85,3 +87,14 @@ clean-local:
8587
if test -z "$(lib_LTLIBRARIES)"; then \
8688
rm -f "$(comp_inst)"; \
8789
fi
90+
91+
else
92+
93+
# Need to have empty targets because AM can't handle having an
94+
# AM_CONDITIONAL was targets in the "if" statement but not in the
95+
# "else". :-(
96+
97+
all-local:
98+
clean-local:
99+
100+
endif

0 commit comments

Comments
 (0)