Mercurial > hg > octave-nkf
changeset 17978:86846ce0371a
acinclude.m4: Clean up indentation of Fortran code tests.
* m4/acinclude.m4: Clean up indentation of Fortran code tests.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 21 Nov 2013 12:14:24 -0800 |
parents | acdee77299e1 |
children | a761ba02a52f |
files | m4/acinclude.m4 |
diffstat | 1 files changed, 8 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/acinclude.m4 +++ b/m4/acinclude.m4 @@ -315,8 +315,8 @@ AC_CACHE_CHECK([whether $F77 has the intrinsic function ISNAN], [octave_cv_func_fortran_isnan], [AC_LANG_PUSH(Fortran 77) - AC_COMPILE_IFELSE( -[[ program foo + AC_COMPILE_IFELSE([[ + program foo implicit none real x double precision y @@ -327,7 +327,7 @@ print *, 'y is NaN' end if end program -]], + ]], octave_cv_func_fortran_isnan=yes, octave_cv_func_fortran_isnan=no) AC_LANG_POP(Fortran 77) ]) @@ -1011,8 +1011,8 @@ [ac_octave_save_FFLAGS="$FFLAGS" FFLAGS="$FFLAGS $F77_INTEGER_8_FLAG" AC_LANG_PUSH(Fortran 77) - AC_COMPILE_IFELSE( -[[ subroutine foo(n, in, out) + AC_COMPILE_IFELSE([[ + subroutine foo(n, in, out) integer n, in(n), out(n) integer i do 10 i = 1, n @@ -1020,14 +1020,15 @@ 10 continue return end -]], + ]], [mv conftest.$ac_objext fintsize.$ac_objext ac_octave_save_LIBS="$LIBS" LIBS="fintsize.$ac_objext $[]_AC_LANG_PREFIX[]LIBS" AC_LANG_PUSH(C) AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include <assert.h> - #include <stdint.h> ]], [[ + #include <stdint.h> + ]], [[ #ifdef USE_64_BIT_IDX_T typedef int64_t octave_idx_type; #else