Merge pull request #6224 from kawashima-fj/pr/config-fortran-type
config: Clean Fortran type check code
Этот коммит содержится в:
Коммит
90ae7d4917
@ -13,6 +13,7 @@ dnl All rights reserved.
|
|||||||
dnl Copyright (c) 2011-2012 Cisco Systems, Inc. All rights reserved.
|
dnl Copyright (c) 2011-2012 Cisco Systems, Inc. All rights reserved.
|
||||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
dnl Copyright (c) 2015 Research Organization for Information Science
|
||||||
dnl and Technology (RIST). All rights reserved.
|
dnl and Technology (RIST). All rights reserved.
|
||||||
|
dnl Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
|
||||||
dnl $COPYRIGHT$
|
dnl $COPYRIGHT$
|
||||||
dnl
|
dnl
|
||||||
dnl Additional copyrights may follow
|
dnl Additional copyrights may follow
|
||||||
@ -38,8 +39,8 @@ AC_DEFUN([OMPI_FORTRAN_CHECK], [
|
|||||||
ofc_expected_size=$4
|
ofc_expected_size=$4
|
||||||
ofc_define_type=$5
|
ofc_define_type=$5
|
||||||
ofc_have_type=0
|
ofc_have_type=0
|
||||||
ofc_type_size=$ac_cv_sizeof_int
|
ofc_type_size=0
|
||||||
ofc_type_alignment=$ac_cv_sizeof_int
|
ofc_type_alignment=0
|
||||||
ofc_c_type=ompi_fortran_bogus_type_t
|
ofc_c_type=ompi_fortran_bogus_type_t
|
||||||
ofc_type_kind=0
|
ofc_type_kind=0
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ dnl All rights reserved.
|
|||||||
dnl Copyright (c) 2010-2012 Cisco Systems, Inc. All rights reserved.
|
dnl Copyright (c) 2010-2012 Cisco Systems, Inc. All rights reserved.
|
||||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
dnl Copyright (c) 2015 Research Organization for Information Science
|
||||||
dnl and Technology (RIST). All rights reserved.
|
dnl and Technology (RIST). All rights reserved.
|
||||||
|
dnl Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
|
||||||
dnl $COPYRIGHT$
|
dnl $COPYRIGHT$
|
||||||
dnl
|
dnl
|
||||||
dnl Additional copyrights may follow
|
dnl Additional copyrights may follow
|
||||||
@ -38,6 +39,7 @@ AC_DEFUN([OMPI_FORTRAN_GET_KIND_VALUE],[
|
|||||||
value=
|
value=
|
||||||
AC_RUN_IFELSE(AC_LANG_PROGRAM(, [[
|
AC_RUN_IFELSE(AC_LANG_PROGRAM(, [[
|
||||||
use, intrinsic :: ISO_C_BINDING
|
use, intrinsic :: ISO_C_BINDING
|
||||||
|
implicit none
|
||||||
open(unit = 7, file = "conftest.out")
|
open(unit = 7, file = "conftest.out")
|
||||||
write(7, *) $1
|
write(7, *) $1
|
||||||
close(7)
|
close(7)
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user