Skip to content

v5.0.x: configury: remove whitespace from "conftestval"-style tests #13289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: v5.0.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/ompi_fortran_check_logical_array.m4
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ EOF
[ # assume we're ok
value=yes],
[OPAL_LOG_COMMAND([./conftest],
[if test "`cat conftestval`" = "1" ; then
[if test "`cat conftestval | xargs`" = "1" ; then
value=yes
else
value=no
Expand Down
2 changes: 1 addition & 1 deletion config/ompi_fortran_check_real16_c_equiv.m4
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ EOF
[AC_MSG_RESULT([Error!])
AC_MSG_ERROR([Can not determine if REAL*16 bit-matches C if cross compiling])],
[OPAL_LOG_COMMAND([./conftest],
[fortran_real16_happy=`cat conftestval`],
[fortran_real16_happy=`cat conftestval | xargs`],
[AC_MSG_RESULT([Error!])
AC_MSG_ERROR([Could not determine if REAL*16 bit-matches C type])
])
Expand Down
3 changes: 1 addition & 2 deletions config/ompi_fortran_get_alignment.m4
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ end program]])],
[AS_IF([test "$cross_compiling" = "yes"],
[AC_MSG_ERROR([Can not determine common alignment when cross-compiling])],
[OPAL_LOG_COMMAND([./conftest],
[AS_VAR_SET(ompi_cv_fortran_common_alignment, [`cat conftestval`])],
[AS_VAR_SET(ompi_cv_fortran_common_alignment, [`cat conftestval | xargs`])],
[AC_MSG_ERROR([Could not determine common alignment])])])],

[AC_MSG_WARN([Could not determine common alignment])
Expand All @@ -216,5 +216,4 @@ end program]])],
[AC_MSG_CHECKING([Fortran common alignment])
$1=0
AC_MSG_RESULT([skipped])])

])dnl
2 changes: 1 addition & 1 deletion config/ompi_fortran_get_sizeof.m4
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ EOF
AS_IF([test "$cross_compiling" = "yes"],
[AC_MSG_ERROR([Can not determine size of $2 when cross-compiling])],
[OPAL_LOG_COMMAND([./conftest],
[AS_VAR_SET(type_var, [`cat conftestval`])],
[AS_VAR_SET(type_var, [`cat conftestval | xargs`])],
[AC_MSG_ERROR([Could not determine size of $2])])])

unset happy ompi_conftest_h
Expand Down