From 67caebbfab04d7efa47297c92968b4d8718cf867 Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Tue, 7 Mar 2006 08:49:59 +0000 Subject: [PATCH] Fix a the compilation error that is caused by the specification of a CPPFLAGS environment variable during the configuration process (CPPFLAGS have been concatenated with an include directive). This commit was SVN r9213. --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 1f002d3cc5..1756b6e29d 100644 --- a/configure.ac +++ b/configure.ac @@ -1097,11 +1097,11 @@ ompi_show_subtitle "Compiler flags" # source directories, however. # if test "$OMPI_TOP_BUILDDIR" != "$OMPI_TOP_SRCDIR"; then - CPPFLAGS='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/opal/include -I$(top_srcdir)/orte/include -I$(top_srcdir)/ompi/include'"$CPPFLAGS" - CXXCPPFLAGS='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/opal/include -I$(top_srcdir)/orte/include -I$(top_srcdir)/ompi/include'"$CXXCPPFLAGS" + CPPFLAGS='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/opal/include -I$(top_srcdir)/orte/include -I$(top_srcdir)/ompi/include'" $CPPFLAGS" + CXXCPPFLAGS='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/opal/include -I$(top_srcdir)/orte/include -I$(top_srcdir)/ompi/include'" $CXXCPPFLAGS" else - CPPFLAGS='-I$(top_srcdir)'"$CPPFLAGS" - CXXCPPFLAGS='-I$(top_srcdir)'"$CXXCPPFLAGS" + CPPFLAGS='-I$(top_srcdir)'" $CPPFLAGS" + CXXCPPFLAGS='-I$(top_srcdir)'" $CXXCPPFLAGS" fi #