Fix problem when $CC or $CXX where multiple tokens. A similar fix
when in for $F77 and $FC long ago. Thanks to Brian Barrett for noticing and submitting a patch. This commit was SVN r16864.
Этот коммит содержится в:
родитель
00131df353
Коммит
8320a491fe
@ -304,6 +304,8 @@ AC_DEFUN([_OMPI_PROG_CC],[
|
||||
BASECC="`basename $CC`"
|
||||
CFLAGS="$ompi_cflags_save"
|
||||
AC_DEFINE_UNQUOTED(OMPI_CC, "$CC", [OMPI underlying C compiler])
|
||||
OMPI_CC_ABSOLUTE="`which $CC`"
|
||||
set dummy $CC
|
||||
ompi_cc_argv0=[$]2
|
||||
OMPI_CC_ABSOLUTE="`which $ompi_cc_argv0`"
|
||||
AC_SUBST(OMPI_CC_ABSOLUTE)
|
||||
])
|
||||
|
@ -253,7 +253,9 @@ AC_DEFUN([_OMPI_PROG_CXX],[
|
||||
BASECXX="`basename $CXX`"
|
||||
CXXFLAGS="$ompi_cxxflags_save"
|
||||
AC_DEFINE_UNQUOTED(OMPI_CXX, "$CXX", [OMPI underlying C++ compiler])
|
||||
OMPI_CXX_ABSOLUTE="`which $CXX`"
|
||||
set dummy $CXX
|
||||
ompi_cxx_argv0=[$]2
|
||||
OMPI_CXX_ABSOLUTE="`which $ompi_cxx_argv0`"
|
||||
AC_SUBST(OMPI_CXX_ABSOLUTE)
|
||||
|
||||
OMPI_CXX_COMPILER_VENDOR([ompi_cxx_vendor])
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user