From 4080646606927ebf7c1144b1e2e436e7cb8af0dd Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Mon, 15 May 2006 19:33:06 +0000 Subject: [PATCH] Fix some variable names that are generated via m4 macros. Sorry for committing configure changes during the day, but this is necessary for some testing via multiple people at different sites. This commit was SVN r9926. --- config/f90_check.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/f90_check.m4 b/config/f90_check.m4 index 2e1eea7525..9ebcaf7089 100644 --- a/config/f90_check.m4 +++ b/config/f90_check.m4 @@ -165,8 +165,8 @@ AC_DEFUN([OMPI_F90_CHECK], [ # Save some in shell variables for later use. Have to use m4 # functions here (vs. $ompi_upper_var_name, defined above) because # these need to be set at autoconf time, not configure time. - [OMPI_SIZEOF_F90_]m4_translit(m4_bpatsubst([$1], [^\([a-zA-Z_]*\).+], [[\1]]), [A-Z], [a-z])[=$ofc_type_size] - AC_SUBST([OMPI_SIZEOF_F90_]m4_translit(m4_bpatsubst([$1], [^\([a-zA-Z_]*\).+], [[\1]]), [A-Z], [a-z])) + [OMPI_SIZEOF_F90_]m4_translit(m4_bpatsubst(m4_bpatsubst([$1], [*], []), [[^a-zA-Z0-9_]], [_]), [a-z], [A-Z])[=$ofc_type_size] + AC_SUBST([OMPI_SIZEOF_F90_]m4_translit(m4_bpatsubst(m4_bpatsubst([$1], [*], []), [[^a-zA-Z0-9_]], [_]), [a-z], [A-Z])) # Clean up unset ofc_fortran_type ofc_expected_size ofc_want_range ofc_pretty_name