diff options
author | Luc Maisonobe <luc@spaceroots.org> | 2009-04-19 13:05:55 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2009-04-19 13:05:55 +0200 |
commit | 2673212c84ed131e9014832005277da6513aabeb (patch) | |
tree | 2f7142d30133fefd7591ae1cd5278688cf9167d2 /m4/ax_f90_module_extension.m4 | |
parent | e44e95b60f796b4ea0377d8d05af6b2726d13b20 (diff) | |
download | autoconf-archive-2673212c84ed131e9014832005277da6513aabeb.tar.gz |
AX_F90_*: fix cached variable warnings
Autoconf 2.63 generates warnings when cached variable names have no _cv_
in them.
Diffstat (limited to 'm4/ax_f90_module_extension.m4')
-rw-r--r-- | m4/ax_f90_module_extension.m4 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/m4/ax_f90_module_extension.m4 b/m4/ax_f90_module_extension.m4 index d5c010a..3c0fe20 100644 --- a/m4/ax_f90_module_extension.m4 +++ b/m4/ax_f90_module_extension.m4 @@ -14,7 +14,7 @@ # # LAST MODIFICATION # -# 2008-04-12 +# 2009-01-08 # # COPYLEFT # @@ -27,7 +27,7 @@ AC_DEFUN([AX_F90_MODULE_EXTENSION],[ AC_CACHE_CHECK([fortran 90 modules extension], -ax_f90_modext, +ax_cv_f90_modext, [AC_LANG_PUSH(Fortran) i=0 while test \( -f tmpdir_$i \) -o \( -d tmpdir_$i \) ; do @@ -44,16 +44,16 @@ AC_COMPILE_IFELSE([ end subroutine conftest_routine end module conftest_module ], - [ax_f90_modext=`ls | sed -n 's,conftest_module\.,,p'` - if test x$ax_f90_modext = x ; then + [ax_cv_f90_modext=`ls | sed -n 's,conftest_module\.,,p'` + if test x$ax_cv_f90_modext = x ; then dnl Some F90 compilers put module filename in uppercase letters - ax_f90_modext=`ls | sed -n 's,CONFTEST_MODULE\.,,p'` - if test x$ax_f90_modext = x ; then - ax_f90_modext="" + ax_cv_f90_modext=`ls | sed -n 's,CONFTEST_MODULE\.,,p'` + if test x$ax_cv_f90_modext = x ; then + ax_cv_f90_modext="" fi fi ], - [ax_f90_modext=""]) + [ax_cv_f90_modext=""]) cd .. rm -fr tmpdir_$i AC_LANG_POP(Fortran) |