summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorJulien Schueller <schueller@phimeca.com>2023-04-11 19:28:32 (GMT)
committerGitHub <noreply@github.com>2023-04-11 19:28:32 (GMT)
commit70d9616672161eb577bbc5d9763af1414db862e2 (patch)
tree7c5157abae2db39eb72ccbbe843d12dc621c2c66 /m4
parent3bca79c7aa9a03264b9aa370286a1dfaaf4172e1 (diff)
downloadhdf5-70d9616672161eb577bbc5d9763af1414db862e2.zip
hdf5-70d9616672161eb577bbc5d9763af1414db862e2.tar.gz
hdf5-70d9616672161eb577bbc5d9763af1414db862e2.tar.bz2
CMake: Let runtime checks through stdout only (#2666)
This avoids mixing emulators errors on stderr to configure results while cross-compiling with wine.
Diffstat (limited to 'm4')
-rw-r--r--m4/aclocal_fc.f9020
1 files changed, 10 insertions, 10 deletions
diff --git a/m4/aclocal_fc.f90 b/m4/aclocal_fc.f90
index bcefab5..68a8f1b 100644
--- a/m4/aclocal_fc.f90
+++ b/m4/aclocal_fc.f90
@@ -82,7 +82,7 @@ END PROGRAM PROG_FC_C_LONG_DOUBLE_EQ_C_DOUBLE
!---- START ----- Determine the available KINDs for REALs and INTEGERs
PROGRAM FC_AVAIL_KINDS
- USE, INTRINSIC :: ISO_FORTRAN_ENV, ONLY : stderr=>ERROR_UNIT
+ USE, INTRINSIC :: ISO_FORTRAN_ENV, ONLY : stdout=>OUTPUT_UNIT
IMPLICIT NONE
INTEGER :: ik, jk, k, kk, max_decimal_prec
INTEGER :: prev_rkind, num_rkinds = 1, num_ikinds = 1
@@ -102,11 +102,11 @@ PROGRAM FC_AVAIL_KINDS
ENDDO
DO k = 1, num_ikinds
- WRITE(stderr,'(I0)', ADVANCE='NO') list_ikinds(k)
+ WRITE(stdout,'(I0)', ADVANCE='NO') list_ikinds(k)
IF(k.NE.num_ikinds)THEN
- WRITE(stderr,'(A)',ADVANCE='NO') ','
+ WRITE(stdout,'(A)',ADVANCE='NO') ','
ELSE
- WRITE(stderr,'()')
+ WRITE(stdout,'()')
ENDIF
ENDDO
@@ -139,17 +139,17 @@ PROGRAM FC_AVAIL_KINDS
ENDDO prec
DO k = 1, num_rkinds
- WRITE(stderr,'(I0)', ADVANCE='NO') list_rkinds(k)
+ WRITE(stdout,'(I0)', ADVANCE='NO') list_rkinds(k)
IF(k.NE.num_rkinds)THEN
- WRITE(stderr,'(A)',ADVANCE='NO') ','
+ WRITE(stdout,'(A)',ADVANCE='NO') ','
ELSE
- WRITE(stderr,'()')
+ WRITE(stdout,'()')
ENDIF
ENDDO
- WRITE(stderr,'(I0)') max_decimal_prec
- WRITE(stderr,'(I0)') num_ikinds
- WRITE(stderr,'(I0)') num_rkinds
+ WRITE(stdout,'(I0)') max_decimal_prec
+ WRITE(stdout,'(I0)') num_ikinds
+ WRITE(stdout,'(I0)') num_rkinds
END PROGRAM FC_AVAIL_KINDS
!---- END ----- Determine the available KINDs for REALs and INTEGERs