summaryrefslogtreecommitdiff
path: root/m4/ax_f90_module_extension.m4
diff options
context:
space:
mode:
authorAlex Pletzer <pletzer@txcorp.com>2007-05-12 13:27:05 +0200
committerPeter Simons <simons@cryp.to>2007-05-12 13:27:05 +0200
commit7bb0ad936c071a09f2701f373834aee1987306d5 (patch)
tree27822ee66a66af272ec8dfa5961fababede02268 /m4/ax_f90_module_extension.m4
parent5d98b793562da5fcc38b92fa020acb23d56e9b3e (diff)
downloadautoconf-archive-7bb0ad936c071a09f2701f373834aee1987306d5.tar.gz
There is an error at line:
| if test "$ax_flag" = "not found" ; then in ax_f90_module_flag.m4. It should read: if test "$ax_f90_modflag" = "not found" ; then
Diffstat (limited to 'm4/ax_f90_module_extension.m4')
-rw-r--r--m4/ax_f90_module_extension.m419
1 files changed, 10 insertions, 9 deletions
diff --git a/m4/ax_f90_module_extension.m4 b/m4/ax_f90_module_extension.m4
index 823f13a..dc8c778 100644
--- a/m4/ax_f90_module_extension.m4
+++ b/m4/ax_f90_module_extension.m4
@@ -12,11 +12,12 @@
#
# LAST MODIFICATION
#
-# 2007-05-10
+# 2007-05-12
#
# COPYLEFT
#
# Copyright (c) 2007 Luc Maisonobe <luc@spaceroots.org>
+# Copyright (c) 2007 Alexander Pletzer <pletzer@txcorp.com>
#
# Copying and distribution of this file, with or without
# modification, are permitted in any medium without royalty provided
@@ -34,23 +35,23 @@ mkdir tmpdir_$i
cd tmpdir_$i
AC_COMPILE_IFELSE([
!234567
- module conftest_module
- contains
- subroutine conftest_routine
- write(*,'(a)') 'gotcha!'
- end subroutine conftest_routine
- end module conftest_module
+ module conftest_module
+ contains
+ subroutine conftest_routine
+ write(*,'(a)') 'gotcha!'
+ 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
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=unknown
+ ax_f90_modext=""
fi
fi
],
- [ax_f90_modext=unknown])
+ [ax_f90_modext=""])
cd ..
rm -fr tmpdir_$i
AC_LANG_POP(Fortran)