Skip to content

Commit fd39c3f

Browse files
committed
romio: skip install mpio.h if FROM_MPICH
Now mpich will generate io function prototypes and mpio.h is no longer needed.
1 parent 285fe64 commit fd39c3f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/mpi/romio/Makefile.am

+2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ AM_CPPFLAGS += $(MPI_H_INCLUDE)
5252
# handle the "include" directory here
5353
AM_CPPFLAGS += -I$(top_builddir)/include -I$(top_srcdir)/include $(external_includes)
5454
# nodist_ b/c these are created by config.status and should not be distributed
55+
if INSTALL_HEADERS
5556
nodist_include_HEADERS += include/mpio.h include/mpiof.h
57+
endif
5658

5759
# ------------------------------------------------------------------------
5860

src/mpi/romio/configure.ac

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ FROM_OMPI=${FROM_OMPI:-no}
106106
if test "$FROM_OMPI" = 1 ; then FROM_OMPI=yes ; fi
107107

108108
AM_CONDITIONAL([BUILD_BINDING], [test "$FROM_MPICH" != "yes"])
109+
AM_CONDITIONAL([INSTALL_HEADERS], [test "$FROM_MPICH" != "yes"])
109110

110111
# MPL
111112
AC_ARG_VAR([MPLLIBNAME],[can be used to override the name of the MPL library (default: "mpl")])

0 commit comments

Comments
 (0)