From 104afe39e493bacf2912e4ff87c9a01eb958a2cc Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Tue, 17 Aug 2010 22:40:22 +0000 Subject: [PATCH] - ompi_ext.m4: For VPATH builds, create the subdirectories first - mpiext.h: For OMPI_DECLSPEC, include the ompi_config.h This commit was SVN r23623. --- config/ompi_ext.m4 | 1 + ompi/mpiext/mpiext.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/config/ompi_ext.m4 b/config/ompi_ext.m4 index c04f13c92b..26b422038d 100644 --- a/config/ompi_ext.m4 +++ b/config/ompi_ext.m4 @@ -137,6 +137,7 @@ EOF outfile_real=ompi/mpiext/static-components.h outfile=$outfile_real.new rm -f $outfile $outfile.struct $outfile.extern + $MKDIR_P ompi/mpiext touch $outfile.struct $outfile.extern m4_foreach(extension, [ompi_mpiext_list], diff --git a/ompi/mpiext/mpiext.h b/ompi/mpiext/mpiext.h index 63dce9f0b0..6a93563c79 100644 --- a/ompi/mpiext/mpiext.h +++ b/ompi/mpiext/mpiext.h @@ -5,6 +5,8 @@ extern "C" { #endif +#include "ompi_config.h" + OMPI_DECLSPEC int ompi_mpiext_init(void); OMPI_DECLSPEC int ompi_mpiext_fini(void);