diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2016-08-18 18:53:24 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2016-08-18 18:53:24 (GMT) |
commit | 79b14e8b4de6e260b8a0c44629ecd3ab80eec65f (patch) | |
tree | 943ecba89f419f47e852f69e6f1c4a0fbf07443d | |
parent | 501019543589194419aa2411ae2bde71ab50ef86 (diff) | |
download | hdf5-79b14e8b4de6e260b8a0c44629ecd3ab80eec65f.zip hdf5-79b14e8b4de6e260b8a0c44629ecd3ab80eec65f.tar.gz hdf5-79b14e8b4de6e260b8a0c44629ecd3ab80eec65f.tar.bz2 |
[svn-r30301] Changed the print ordering of the SIZE_OF/KIND program output in order to match what is done in cmake.
Tested: gnu, jelly.
-rw-r--r-- | m4/aclocal_fc.m4 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/m4/aclocal_fc.m4 b/m4/aclocal_fc.m4 index 717d1f4..763ab77 100644 --- a/m4/aclocal_fc.m4 +++ b/m4/aclocal_fc.m4 @@ -400,24 +400,24 @@ rm -f pac_fconftest.out REAL b DOUBLE PRECISION c OPEN(8, FILE='pac_fconftest.out', FORM='formatted') - WRITE(8,*) KIND(a) WRITE(8,*) $FC_SIZEOF_A - WRITE(8,*) KIND(b) + WRITE(8,*) KIND(a) WRITE(8,*) $FC_SIZEOF_B - WRITE(8,*) KIND(c) + WRITE(8,*) KIND(b) WRITE(8,*) $FC_SIZEOF_C + WRITE(8,*) KIND(c) CLOSE(8) END ]) ]) AC_RUN_IFELSE([],[ if test -s pac_fconftest.out ; then - PAC_FORTRAN_NATIVE_INTEGER_KIND="`sed -n '1p' pac_fconftest.out`" - PAC_FORTRAN_NATIVE_INTEGER_SIZEOF="`sed -n '2p' pac_fconftest.out`" - PAC_FORTRAN_NATIVE_REAL_KIND="`sed -n '3p' pac_fconftest.out`" - PAC_FORTRAN_NATIVE_REAL_SIZEOF="`sed -n '4p' pac_fconftest.out`" - PAC_FORTRAN_NATIVE_DOUBLE_KIND="`sed -n '5p' pac_fconftest.out`" - PAC_FORTRAN_NATIVE_DOUBLE_SIZEOF="`sed -n '6p' pac_fconftest.out`" + PAC_FORTRAN_NATIVE_INTEGER_SIZEOF="`sed -n '1p' pac_fconftest.out`" + PAC_FORTRAN_NATIVE_INTEGER_KIND="`sed -n '2p' pac_fconftest.out`" + PAC_FORTRAN_NATIVE_REAL_SIZEOF="`sed -n '3p' pac_fconftest.out`" + PAC_FORTRAN_NATIVE_REAL_KIND="`sed -n '4p' pac_fconftest.out`" + PAC_FORTRAN_NATIVE_DOUBLE_SIZEOF="`sed -n '5p' pac_fconftest.out`" + PAC_FORTRAN_NATIVE_DOUBLE_KIND="`sed -n '6p' pac_fconftest.out`" else AC_MSG_ERROR([No output from Fortran test program!]) fi |