diff -up mpich/elpa.pc.in.r mpich/elpa.pc.in --- mpich/elpa.pc.in.r 2015-03-16 11:39:51.000000000 +0100 +++ mpich/elpa.pc.in 2015-03-20 10:59:37.966517510 +0100 @@ -9,4 +9,4 @@ Version: @PACKAGE_VERSION@ URL: @PACKAGE_URL@ Libs: -L${libdir} -lelpa@SUFFIX@ @LIBS@ @OPENMP_FCFLAGS@ Cflags: -I${includedir}/elpa@SUFFIX@-@PACKAGE_VERSION@ @OPENMP_CFLAGS@ -fcflags= -I${includedir}/elpa@SUFFIX@-@PACKAGE_VERSION@/modules @OPENMP_FCFLAGS@ +fcflags= -I@MPI_FORTRAN_MOD_DIR@ @OPENMP_FCFLAGS@