Thanks for your bug report. Pierre <[EMAIL PROTECTED]> writes:
>> configure:1805: checking for Fortran compiler default output file name >> configure:1832: g95 conftest.f >&5 >> Warnings: 0 Errors: 0 >> configure:1835: $? = 0 >> configure:1881: result: b.out That "b.out" is due to a bug in Autoconf; it incorrectly deduced the name of the executable. What is the name of the executable that your GNU Fortran 95 compiler outputs? That is, if you execute this shell script: cat >conftest.f <<'EOF' program main end EOF g95 conftest.f what file does your g95 compiler create? I installed the following patch to fix the other bugs noted in your report. Thanks again. 2006-08-06 Paul Eggert <[EMAIL PROTECTED]> Fix test suite failures reported by Pierre in <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>. * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim the compiler created a file "b.out" when it didn't create anything at all. * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER): Discard stderr too, when invoking the test script. --- lib/autoconf/lang.m4 30 May 2006 07:28:02 -0000 1.183 +++ lib/autoconf/lang.m4 7 Aug 2006 07:08:27 -0000 @@ -500,7 +500,7 @@ AS_IF([_AC_DO_VAR(ac_link_default)], # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. -for ac_file in $ac_files +for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in @@ -527,10 +527,12 @@ do done test "$ac_cv_exeext" = no && ac_cv_exeext= ], - [_AC_MSG_LOG_CONFTEST + [ac_file='']) +AC_MSG_RESULT([$ac_file]) +AS_IF([test -z "$ac_file"], +[_AC_MSG_LOG_CONFTEST AC_MSG_FAILURE([_AC_LANG compiler cannot create executables], 77)]) ac_exeext=$ac_cv_exeext -AC_MSG_RESULT([$ac_file]) ])# _AC_COMPILER_EXEEXT_DEFAULT --- lib/autoconf/specific.m4 26 May 2006 22:29:50 -0000 1.368 +++ lib/autoconf/specific.m4 7 Aug 2006 07:08:27 -0000 @@ -85,7 +85,7 @@ AC_DEFUN([AC_SYS_INTERPRETER], exit 69 ' >conftest chmod u+x conftest -(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null) +(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null 2>&1) if test $? -ne 69; then ac_cv_sys_interpreter=yes else