1
1

Update some m4 usage as suggested by Eric Blake.

This commit was SVN r23915.
Этот коммит содержится в:
Jeff Squyres 2010-10-19 22:46:06 +00:00
родитель 4322a78e60
Коммит 5b0ffb7d1e
5 изменённых файлов: 20 добавлений и 5 удалений

Просмотреть файл

@ -21,7 +21,10 @@ dnl
# OMPI_F77_CHECK_TYPE([type, action if found, action if not found])
# -----------------------------------------------------------------
AC_DEFUN([OMPI_F77_CHECK_TYPE],[
AS_VAR_PUSHDEF([type_var], [ompi_cv_f77_have_$1])
# Use of m4_translit suggested by Eric Blake:
# http://lists.gnu.org/archive/html/bug-autoconf/2010-10/msg00016.html
AS_VAR_PUSHDEF([type_var],
m4_translit([[ompi_cv_f77_have_$1]], [*], [p]))
# Determine Fortran datatype size.
# First arg is type, 2nd arg is config var to define

Просмотреть файл

@ -23,7 +23,10 @@ dnl
AC_DEFUN([OMPI_F77_GET_ALIGNMENT],[
unset happy
OMPI_VAR_SCOPE_PUSH([happy ompi_conftest_h])
AS_VAR_PUSHDEF([type_var], [ompi_cv_f77_alignment_$1])
# Use of m4_translit suggested by Eric Blake:
# http://lists.gnu.org/archive/html/bug-autoconf/2010-10/msg00016.html
AS_VAR_PUSHDEF([type_var],
m4_translit([[ompi_cv_f77_alignment_$1]], [*], [p]))
AC_CACHE_CHECK([alignment of Fortran $1], type_var,
[OMPI_F77_MAKE_C_FUNCTION([ompi_ac_align_fn], [align])

Просмотреть файл

@ -21,7 +21,10 @@ dnl
# OMPI_F77_GET_SIZEOF(type, variable to set)
# ------------------------------------------
AC_DEFUN([OMPI_F77_GET_SIZEOF],[
AS_VAR_PUSHDEF([type_var], [ompi_cv_f77_sizeof_$1])
# Use of m4_translit suggested by Eric Blake:
# http://lists.gnu.org/archive/html/bug-autoconf/2010-10/msg00016.html
AS_VAR_PUSHDEF([type_var],
m4_translit([[ompi_cv_f77_sizeof_$1]], [*], [p]))
AC_CACHE_CHECK([size of Fortran 77 $1], type_var,
[OMPI_F77_MAKE_C_FUNCTION([ompi_ac_size_fn], [size])

Просмотреть файл

@ -20,7 +20,10 @@ dnl
# OMPI_F90_CHECK_TYPE([type, action if found, action if not found])
# -----------------------------------------------------------------
AC_DEFUN([OMPI_F90_CHECK_TYPE],[
AS_VAR_PUSHDEF([type_var], [ompi_cv_f90_have_$1])
# Use of m4_translit suggested by Eric Blake:
# http://lists.gnu.org/archive/html/bug-autoconf/2010-10/msg00016.html
AS_VAR_PUSHDEF([type_var],
m4_translit([[ompi_cv_f90_have_$1]], [*], [p]))
# Determine Fortran datatype size.
# First arg is type, 2nd arg is config var to define

Просмотреть файл

@ -21,7 +21,10 @@ dnl
# OMPI_F90_GET_SIZEOF(type, variable to set)
# ------------------------------------------
AC_DEFUN([OMPI_F90_GET_SIZEOF],[
AS_VAR_PUSHDEF([type_var], [ompi_cv_f90_sizeof_$1])
# Use of m4_translit suggested by Eric Blake:
# http://lists.gnu.org/archive/html/bug-autoconf/2010-10/msg00016.html
AS_VAR_PUSHDEF([type_var],
m4_translit([[ompi_cv_f90_sizeof_$1]], [*], [p]))
AC_CACHE_CHECK([size of Fortran 90 $1], type_var,
[OMPI_F77_MAKE_C_FUNCTION([ompi_ac_size_fn], [size])