autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interrupt causes parse error in configure script


From: Ralf Wildenhues
Subject: Re: interrupt causes parse error in configure script
Date: Tue, 19 Aug 2008 23:16:41 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Eric,

* Eric Blake wrote on Tue, Aug 19, 2008 at 10:52:46PM CEST:
> Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de> writes:
> 
> > I'm pretty sure that any remaining test failure I'm seeing are not
> > introduced by this patch, so if you are ok with it I'll apply.
> 
> Any help I can offer on tracking down the (unrelated) AS_IF failures?

Not sure.  See below.  I recently updated this system to Debian lenny, I
kind of think that may be one cause (or exposure reason).  The tests
"GNU Fortran 77", AC_F77_MAIN, and AC_F77_WRAPPERS also fail, but
probably my gfortran installation is just borked.  Ahh yes, f77 points
to fort77, apparently an f2c incarnation...

> At any rate, please apply, after addressing these nits:

Thanks, done just like you said.

Cheers,
Ralf


## ------------------------------------- ##
## GNU Autoconf 2.62.32-ea2e test suite. ##
## ------------------------------------- ##

testsuite: command line was:
  $ ./testsuite 

## ----------- ##
## ChangeLogs. ##
## ----------- ##

testsuite: ../../autoconf/ChangeLog:
| 2008-08-19  Jim Meyering <address@hidden>
|           Eric Blake <address@hidden>
|           Ralf Wildenhues  <address@hidden>
| 
|       Avoid shell parse errors after interrupt due to empty ``.
|       * doc/autoconf.texi (Shell Substitutions): Document the issue.
|       * lib/m4sugar/m4sh.m4 (AS_VAR_IF): New function.
|       * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Use it in place of
|       "test AS_VAR_GET([...]) = yes"
|       * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL): Likewise.

## --------- ##
## Platform. ##
## --------- ##

hostname = yep
uname -m = i686
uname -r = 2.6.22-3-686
uname -s = Linux
uname -v = #1 SMP Sun Feb 10 20:20:49 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /tmp/autoconf/write/build/tests
PATH: /tmp/autoconf/write/autoconf/tests
PATH: /home/ralf/local/bin
PATH: /opt/intel_cc_80/bin
PATH: /opt/intel_fc_80/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games
PATH: /usr/local/pgi/linux86/6.0/bin
PATH: /usr/X11R6/bin

testsuite: atconfig:
| # Configurable variable values for building test suites.
| # Generated by ./config.status.
| # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
| 
| # The test suite will define top_srcdir=/../.. etc.
| at_testdir='tests'
| abs_builddir='/tmp/autoconf/write/build/tests'
| at_srcdir='../../autoconf/tests'
| abs_srcdir='/tmp/autoconf/write/build/../autoconf/tests'
| at_top_srcdir='../../autoconf'
| abs_top_srcdir='/tmp/autoconf/write/build/../autoconf'
| at_top_build_prefix='../'
| abs_top_builddir='/tmp/autoconf/write/build'
| 
| # Backward compatibility with Autotest <= 2.59b:
| at_top_builddir=$at_top_build_prefix
| 
| AUTOTEST_PATH='tests'
| 
| SHELL=${CONFIG_SHELL-'/bin/sh'}

testsuite: atlocal:
[...]

## ---------------- ##
## Tested programs. ##
## ---------------- ##

../../autoconf/tests/local.at:513: /tmp/autoconf/write/build/tests/autom4te 
--version
autom4te (GNU Autoconf) 2.62.32-ea2e
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Akim Demaille.

../../autoconf/tests/local.at:513: /tmp/autoconf/write/build/tests/autoconf 
--version
autoconf (GNU Autoconf) 2.62.32-ea2e
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

../../autoconf/tests/local.at:513: /tmp/autoconf/write/build/tests/autoheader 
--version
autoheader (GNU Autoconf) 2.62.32-ea2e
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Roland McGrath and Akim Demaille.

../../autoconf/tests/local.at:513: /tmp/autoconf/write/build/tests/autoupdate 
--version
autoupdate (GNU Autoconf) 2.62.32-ea2e
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

../../autoconf/tests/local.at:513: /tmp/autoconf/write/build/tests/autoreconf 
--version
autoreconf (GNU Autoconf) 2.62.32-ea2e
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

../../autoconf/tests/local.at:513: /tmp/autoconf/write/build/tests/ifnames 
--version
ifnames (GNU Autoconf) 2.62.32-ea2e
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Paul Eggert.

## ------------------ ##
## Running the tests. ##
## ------------------ ##
testsuite: starting at: Tue Aug 19 22:59:21 CEST 2008
1. Syntax of the shell scripts (tools.at:48): ok     (0m0.804s 0m0.012s)
[...]

362. AC_HAVE_LIBRARY (aclibs.at:15): ok     (0m3.516s 0m0.784s)
363. Libtool (foreign.at:28): skipped (foreign.at:60)
364. autoscan (autoscan.at:22): ok     (0m0.340s 0m0.044s)
testsuite: ending at: Tue Aug 19 23:11:56 CEST 2008
testsuite: test suite duration: 0h 12m 35s

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 363 tests were run,
5 failed (1 expected failure).
1 test was skipped.

## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
GNU Autoconf 2.62.32-ea2e test suite test groups:

 NUM: FILE-NAME:LINE     TEST-GROUP-NAME
      KEYWORDS

  60: m4sh.at:635        AS_IF and AS_CASE
      m4_transform_pair
 208: fortran.at:33      GNU Fortran 77
 210: acfortran.at:13    AC_F77_MAIN
 211: acfortran.at:14    AC_F77_WRAPPERS

Skipped tests:
GNU Autoconf 2.62.32-ea2e test suite test groups:

 NUM: FILE-NAME:LINE     TEST-GROUP-NAME
      KEYWORDS

 363: foreign.at:28      Libtool

## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##

#                             -*- compilation -*-
60. m4sh.at:635: testing ...
../../autoconf/tests/m4sh.at:708: autom4te --language=m4sh script.as -o script 
../../autoconf/tests/m4sh.at:709: ./script
../../autoconf/tests/m4sh.at:742: autom4te --language=m4sh script.as -o script 
../../autoconf/tests/m4sh.at:743: ./script 1
--- -   2008-08-19 23:00:54.243440122 +0200
+++ /tmp/autoconf/write/build/tests/testsuite.dir/at-groups/60/stdout   
2008-08-19 23:00:54.000000000 +0200
@@ -1,5 +1,20 @@
-1
-1
-1
-1
+one
+two
+three
+four
+five
+six
+seven
+eight
+nine
+ten
+foo1=1 bar1=1
+foo2=2 bar2=
+foo3=3 bar3=
+foo4=4 bar4=4
+foo5=5 bar5=5
+foo6=6 bar6=
+foo7=7 bar7=
+foo8=8 bar8=8
+foo9=9 bar9=9
 
60. m4sh.at:635: 60. AS_IF and AS_CASE (m4sh.at:635): FAILED (m4sh.at:743)

#                             -*- compilation -*-
208. fortran.at:33: testing ...
../../autoconf/tests/fortran.at:33: autoconf --force -W obsolete
../../autoconf/tests/fortran.at:33: /bin/sh -n configure
../../autoconf/tests/fortran.at:33: autoheader 
../../autoconf/tests/fortran.at:33: ./configure -C
--- /dev/null   2008-08-18 10:39:53.180039762 +0200
+++ /tmp/autoconf/write/build/tests/testsuite.dir/at-groups/208/stderr  
2008-08-19 23:04:10.000000000 +0200
@@ -0,0 +1 @@
+configure: error: incorrectly recognized a GNU Fortran 77 compiler
stdout:
configure: creating cache config.cache
checking for g77... no
checking for xlf... no
checking for f77... f77
checking for Fortran 77 compiler default output file name... a.out
checking whether the Fortran 77 compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
../../autoconf/tests/fortran.at:33: exit code was 1, expected 0
config.log:
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> It was created by configure, which was
> generated by GNU Autoconf 2.62.32-ea2e.  Invocation command line was
> 
>   $ ./configure -C
> 
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> 
> hostname = fuchs
> uname -m = i686
> uname -r = 2.6.22-3-686
> uname -s = Linux
> uname -v = #1 SMP Sun Feb 10 20:20:49 UTC 2008
> 
> /usr/bin/uname -p = unknown
> /bin/uname -X     = unknown
> 
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
> 
> PATH: /tmp/autoconf/write/build/tests
> PATH: /tmp/autoconf/write/autoconf/tests
> PATH: /home/ralf/local/bin
> PATH: /opt/intel_cc_80/bin
> PATH: /opt/intel_fc_80/bin
> PATH: /usr/local/bin
> PATH: /usr/bin
> PATH: /bin
> PATH: /usr/bin/X11
> PATH: /usr/games
> PATH: /usr/local/pgi/linux86/6.0/bin
> PATH: /usr/X11R6/bin
> 
> 
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
> 
> configure:1630: creating cache config.cache
> configure:1781: checking for g77
> configure:1811: result: no
> configure:1781: checking for xlf
> configure:1811: result: no
> configure:1781: checking for f77
> configure:1797: found /usr/bin/f77
> configure:1808: result: f77
> configure:1838: checking for Fortran 77 compiler version
> configure:1846: f77 --version >&5
> /usr/bin/f77: Illegal option: --version
> configure:1850: $? = 255
> configure:1857: f77 -v >&5
> /usr/bin/f77: fort77 Version 1.15
> /usr/bin/f77: No input files specified
> configure:1861: $? = 255
> configure:1868: f77 -V >&5
> /usr/bin/f77 : Missing argument to "-V"
> configure:1872: $? = 255
> configure:1886: checking for Fortran 77 compiler default output file name
> configure:1908: f77   conftest.f  >&5
>    MAIN main:
> configure:1912: $? = 0
> configure:1950: result: a.out
> configure:1969: checking whether the Fortran 77 compiler works
> configure:1979: ./a.out
> configure:1983: $? = 0
> configure:2002: result: yes
> configure:2009: checking whether we are cross compiling
> configure:2011: result: no
> configure:2014: checking for suffix of executables
> configure:2021: f77 -o conftest   conftest.f  >&5
>    MAIN main:
> configure:2025: $? = 0
> configure:2051: result: 
> configure:2057: checking for suffix of object files
> configure:2073: f77 -c  conftest.f >&5
>    MAIN main:
> configure:2077: $? = 0
> configure:2102: result: o
> configure:2110: checking whether we are using the GNU Fortran 77 compiler
> configure:2129: f77 -c  conftest.F >&5
>    MAIN main:
> configure:2136: $? = 0
> configure:2153: result: yes
> configure:2159: checking whether f77 accepts -g
> configure:2176: f77 -c -g conftest.f >&5
>    MAIN main:
> configure:2183: $? = 0
> configure:2199: result: yes
> configure:2230: f77 --version | grep GNU >&2
> /usr/bin/f77: Illegal option: --version
> configure:2233: $? = 1
> configure:2249: error: incorrectly recognized a GNU Fortran 77 compiler
> 
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
> 
> ac_cv_env_F77_set=
> ac_cv_env_F77_value=
> ac_cv_env_FFLAGS_set=
> ac_cv_env_FFLAGS_value=
> ac_cv_env_LDFLAGS_set=
> ac_cv_env_LDFLAGS_value=
> ac_cv_env_LIBS_set=
> ac_cv_env_LIBS_value=
> ac_cv_env_build_alias_set=
> ac_cv_env_build_alias_value=
> ac_cv_env_host_alias_set=
> ac_cv_env_host_alias_value=
> ac_cv_env_target_alias_set=
> ac_cv_env_target_alias_value=
> ac_cv_f77_compiler_gnu=yes
> ac_cv_objext=o
> ac_cv_prog_ac_ct_F77=f77
> ac_cv_prog_f77_g=yes
> 
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
> 
> DEFS=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EXEEXT=''
> F77='f77'
> FFLAGS='-g -O2'
> LDFLAGS=''
> LIBOBJS=''
> LIBS=''
> LTLIBOBJS=''
> OBJEXT='o'
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME=''
> PACKAGE_STRING=''
> PACKAGE_TARNAME=''
> PACKAGE_VERSION=''
> PATH_SEPARATOR=':'
> SHELL='/bin/sh'
> ac_ct_F77='f77'
> bindir='${exec_prefix}/bin'
> build_alias=''
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE}'
> dvidir='${docdir}'
> exec_prefix='NONE'
> host_alias=''
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='${datarootdir}/info'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> mandir='${datarootdir}/man'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> prefix='NONE'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
> 
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
> 
> #define PACKAGE_NAME ""
> #define PACKAGE_TARNAME ""
> #define PACKAGE_VERSION ""
> #define PACKAGE_STRING ""
> #define PACKAGE_BUGREPORT ""
> 
> configure: exit 1
208. fortran.at:33: 208. GNU Fortran 77 (fortran.at:33): FAILED (fortran.at:33)

#                             -*- compilation -*-
210. acfortran.at:13: testing ...
../../autoconf/tests/acfortran.at:13: autoconf --force -W obsolete
../../autoconf/tests/acfortran.at:13: /bin/sh -n configure
../../autoconf/tests/acfortran.at:13: autoheader 
../../autoconf/tests/acfortran.at:13: ./configure -C
--- /dev/null   2008-08-18 10:39:53.180039762 +0200
+++ /tmp/autoconf/write/build/tests/testsuite.dir/at-groups/210/stderr  
2008-08-19 23:04:13.000000000 +0200
@@ -0,0 +1 @@
+configure: WARNING: cannot determine how to obtain linking information from f77
stdout:
configure: creating cache config.cache
checking for g77... no
checking for xlf... no
checking for f77... f77
checking for Fortran 77 compiler default output file name... a.out
checking whether the Fortran 77 compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking how to get verbose linking output from f77... 
checking for Fortran 77 libraries of f77... 
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for alternate main to link with Fortran 77 libraries... main
configure: updating cache config.cache
configure: creating ./config.status
config.status: creating config.h
config.log:
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> It was created by configure, which was
> generated by GNU Autoconf 2.62.32-ea2e.  Invocation command line was
> 
>   $ ./configure -C
> 
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> 
> hostname = fuchs
> uname -m = i686
> uname -r = 2.6.22-3-686
> uname -s = Linux
> uname -v = #1 SMP Sun Feb 10 20:20:49 UTC 2008
> 
> /usr/bin/uname -p = unknown
> /bin/uname -X     = unknown
> 
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
> 
> PATH: /tmp/autoconf/write/build/tests
> PATH: /tmp/autoconf/write/autoconf/tests
> PATH: /home/ralf/local/bin
> PATH: /opt/intel_cc_80/bin
> PATH: /opt/intel_fc_80/bin
> PATH: /usr/local/bin
> PATH: /usr/bin
> PATH: /bin
> PATH: /usr/bin/X11
> PATH: /usr/games
> PATH: /usr/local/pgi/linux86/6.0/bin
> PATH: /usr/X11R6/bin
> 
> 
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
> 
> configure:1642: creating cache config.cache
> configure:1788: checking for g77
> configure:1818: result: no
> configure:1788: checking for xlf
> configure:1818: result: no
> configure:1788: checking for f77
> configure:1804: found /usr/bin/f77
> configure:1815: result: f77
> configure:1845: checking for Fortran 77 compiler version
> configure:1853: f77 --version >&5
> /usr/bin/f77: Illegal option: --version
> configure:1857: $? = 255
> configure:1864: f77 -v >&5
> /usr/bin/f77: fort77 Version 1.15
> /usr/bin/f77: No input files specified
> configure:1868: $? = 255
> configure:1875: f77 -V >&5
> /usr/bin/f77 : Missing argument to "-V"
> configure:1879: $? = 255
> configure:1893: checking for Fortran 77 compiler default output file name
> configure:1915: f77   conftest.f  >&5
>    MAIN main:
> configure:1919: $? = 0
> configure:1957: result: a.out
> configure:1976: checking whether the Fortran 77 compiler works
> configure:1986: ./a.out
> configure:1990: $? = 0
> configure:2009: result: yes
> configure:2016: checking whether we are cross compiling
> configure:2018: result: no
> configure:2021: checking for suffix of executables
> configure:2028: f77 -o conftest   conftest.f  >&5
>    MAIN main:
> configure:2032: $? = 0
> configure:2058: result: 
> configure:2064: checking for suffix of object files
> configure:2080: f77 -c  conftest.f >&5
>    MAIN main:
> configure:2084: $? = 0
> configure:2109: result: o
> configure:2117: checking whether we are using the GNU Fortran 77 compiler
> configure:2136: f77 -c  conftest.F >&5
>    MAIN main:
> configure:2143: $? = 0
> configure:2160: result: yes
> configure:2166: checking whether f77 accepts -g
> configure:2183: f77 -c -g conftest.f >&5
>    MAIN main:
> configure:2190: $? = 0
> configure:2206: result: yes
> configure:2240: checking how to get verbose linking output from f77
> configure:2256: f77 -c -g -O2 conftest.f >&5
>    MAIN main:
> configure:2263: $? = 0
> configure:2285: f77 -o conftest -g -O2 -v conftest.f
> /usr/bin/f77: fort77 Version 1.15
> /usr/bin/f77: Running "/usr/bin/f2c -g -Nn802 -I. < conftest.f | 
> /usr/bin/perl -p -e 's/^(#line.*)""/$1"conftest.f"/'  > /tmp/fort77-7964-1.c"
>    MAIN main:
> /usr/bin/f77: Running "gcc" "-g" "-O2" "-c" "-o" "conftest.o" 
> "/tmp/fort77-7964-1.c"
> /usr/bin/f77: unlinking /tmp/fort77-7964-1.c
> /usr/bin/f77: Running "gcc" "-o" "conftest" "conftest.o" "-g" "-O2" "-lf2c" 
> "-lm"
> /usr/bin/f77: unlinking conftest.o
> configure:2285: f77 -o conftest -g -O2 -verbose conftest.f
> /usr/bin/f77: Illegal option: -verbose
> configure:2285: f77 -o conftest -g -O2 --verbose conftest.f
> /usr/bin/f77: Illegal option: --verbose
> configure:2285: f77 -o conftest -g -O2 -V conftest.f
> /usr/bin/f77: No input files specified
> configure:2285: f77 -o conftest -g -O2 -### conftest.f
> /usr/bin/f77: Illegal option: -###
> configure:2340: WARNING: cannot determine how to obtain linking information 
> from f77
> configure:2354: result: 
> configure:2356: checking for Fortran 77 libraries of f77
> configure:2379: f77 -o conftest -g -O2 conftest.f
>    MAIN main:
> configure:2556: result: 
> configure:2615: checking for gcc
> configure:2631: found /usr/bin/gcc
> configure:2642: result: gcc
> configure:2882: checking for C compiler version
> configure:2890: gcc --version >&5
> gcc (Debian 4.3.1-2) 4.3.1
> Copyright (C) 2008 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> configure:2894: $? = 0
> configure:2901: gcc -v >&5
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.1-2' 
> --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs 
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared 
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
> --enable-threads=posix --enable-nls 
> --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 
> --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr 
> --enable-targets=all --enable-cld --enable-checking=release 
> --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
> Thread model: posix
> gcc version 4.3.1 (Debian 4.3.1-2) 
> configure:2905: $? = 0
> configure:2912: gcc -V >&5
> gcc: '-V' option must have argument
> configure:2916: $? = 1
> configure:2919: checking whether we are using the GNU C compiler
> configure:2948: gcc -c   conftest.c >&5
> configure:2955: $? = 0
> configure:2972: result: yes
> configure:2981: checking whether gcc accepts -g
> configure:3011: gcc -c -g  conftest.c >&5
> configure:3018: $? = 0
> configure:3119: result: yes
> configure:3136: checking for gcc option to accept ISO C89
> configure:3210: gcc  -c -g -O2  conftest.c >&5
> configure:3217: $? = 0
> configure:3240: result: none needed
> configure:3263: checking for alternate main to link with Fortran 77 libraries
> configure:3305: gcc -o conftest -g -O2   conftest.c   >&5
> /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/crt1.o: In function 
> `_start':
> (.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> configure:3312: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> | #ifdef FC_DUMMY_MAIN_EQ_F77
> | #  undef F77_DUMMY_MAIN
> | #  undef FC_DUMMY_MAIN
> | #else
> | #  undef F77_DUMMY_MAIN
> | #endif
> | #define main MAIN__
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:3305: gcc -o conftest -g -O2   conftest.c   >&5
> /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/crt1.o: In function 
> `_start':
> (.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> configure:3312: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> | #ifdef FC_DUMMY_MAIN_EQ_F77
> | #  undef F77_DUMMY_MAIN
> | #  undef FC_DUMMY_MAIN
> | #else
> | #  undef F77_DUMMY_MAIN
> | #endif
> | #define main MAIN_
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:3305: gcc -o conftest -g -O2   conftest.c   >&5
> /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/crt1.o: In function 
> `_start':
> (.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> configure:3312: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> | #ifdef FC_DUMMY_MAIN_EQ_F77
> | #  undef F77_DUMMY_MAIN
> | #  undef FC_DUMMY_MAIN
> | #else
> | #  undef F77_DUMMY_MAIN
> | #endif
> | #define main __main
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:3305: gcc -o conftest -g -O2   conftest.c   >&5
> /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/crt1.o: In function 
> `_start':
> (.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> configure:3312: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> | #ifdef FC_DUMMY_MAIN_EQ_F77
> | #  undef F77_DUMMY_MAIN
> | #  undef FC_DUMMY_MAIN
> | #else
> | #  undef F77_DUMMY_MAIN
> | #endif
> | #define main MAIN
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:3305: gcc -o conftest -g -O2   conftest.c   >&5
> /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/crt1.o: In function 
> `_start':
> (.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> configure:3312: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> | #ifdef FC_DUMMY_MAIN_EQ_F77
> | #  undef F77_DUMMY_MAIN
> | #  undef FC_DUMMY_MAIN
> | #else
> | #  undef F77_DUMMY_MAIN
> | #endif
> | #define main _MAIN
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:3305: gcc -o conftest -g -O2   conftest.c   >&5
> /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/crt1.o: In function 
> `_start':
> (.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> configure:3312: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> | #ifdef FC_DUMMY_MAIN_EQ_F77
> | #  undef F77_DUMMY_MAIN
> | #  undef FC_DUMMY_MAIN
> | #else
> | #  undef F77_DUMMY_MAIN
> | #endif
> | #define main __MAIN
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:3305: gcc -o conftest -g -O2   conftest.c   >&5
> /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/crt1.o: In function 
> `_start':
> (.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> configure:3312: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> | #ifdef FC_DUMMY_MAIN_EQ_F77
> | #  undef F77_DUMMY_MAIN
> | #  undef FC_DUMMY_MAIN
> | #else
> | #  undef F77_DUMMY_MAIN
> | #endif
> | #define main main_
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:3305: gcc -o conftest -g -O2   conftest.c   >&5
> /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/crt1.o: In function 
> `_start':
> (.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> configure:3312: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> | #ifdef FC_DUMMY_MAIN_EQ_F77
> | #  undef F77_DUMMY_MAIN
> | #  undef FC_DUMMY_MAIN
> | #else
> | #  undef F77_DUMMY_MAIN
> | #endif
> | #define main main__
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:3305: gcc -o conftest -g -O2   conftest.c   >&5
> /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/crt1.o: In function 
> `_start':
> (.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> configure:3312: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> | #ifdef FC_DUMMY_MAIN_EQ_F77
> | #  undef F77_DUMMY_MAIN
> | #  undef FC_DUMMY_MAIN
> | #else
> | #  undef F77_DUMMY_MAIN
> | #endif
> | #define main _main
> | int
> | main ()
> | {
> | 
> |   ;
> |   return 0;
> | }
> configure:3341: result: main
> configure:3420: updating cache config.cache
> configure:3457: creating ./config.status
> 
> ## ---------------------- ##
> ## Running config.status. ##
> ## ---------------------- ##
> 
> This file was extended by config.status, which was
> generated by GNU Autoconf 2.62.32-ea2e.  Invocation command line was
> 
>   CONFIG_FILES    = 
>   CONFIG_HEADERS  = 
>   CONFIG_LINKS    = 
>   CONFIG_COMMANDS = 
>   $ ./config.status 
> 
> on fuchs
> 
> config.status:594: creating config.h
> 
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
> 
> ac_cv_c_compiler_gnu=yes
> ac_cv_env_CC_set=
> ac_cv_env_CC_value=
> ac_cv_env_CFLAGS_set=
> ac_cv_env_CFLAGS_value=
> ac_cv_env_CPPFLAGS_set=
> ac_cv_env_CPPFLAGS_value=
> ac_cv_env_F77_set=
> ac_cv_env_F77_value=
> ac_cv_env_FFLAGS_set=
> ac_cv_env_FFLAGS_value=
> ac_cv_env_LDFLAGS_set=
> ac_cv_env_LDFLAGS_value=
> ac_cv_env_LIBS_set=
> ac_cv_env_LIBS_value=
> ac_cv_env_build_alias_set=
> ac_cv_env_build_alias_value=
> ac_cv_env_host_alias_set=
> ac_cv_env_host_alias_value=
> ac_cv_env_target_alias_set=
> ac_cv_env_target_alias_value=
> ac_cv_f77_compiler_gnu=yes
> ac_cv_f77_libs=
> ac_cv_f77_main=main
> ac_cv_fortran_main=main
> ac_cv_objext=o
> ac_cv_prog_ac_ct_CC=gcc
> ac_cv_prog_ac_ct_F77=f77
> ac_cv_prog_cc_c89=
> ac_cv_prog_cc_g=yes
> ac_cv_prog_f77_g=yes
> ac_cv_prog_f77_v=
> 
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
> 
> CC='gcc'
> CFLAGS='-g -O2'
> CPPFLAGS=''
> DEFS='-DHAVE_CONFIG_H'
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EXEEXT=''
> F77='f77'
> FFLAGS='-g -O2'
> FLIBS=''
> LDFLAGS=''
> LIBOBJS=''
> LIBS=''
> LTLIBOBJS=''
> OBJEXT='o'
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME=''
> PACKAGE_STRING=''
> PACKAGE_TARNAME=''
> PACKAGE_VERSION=''
> PATH_SEPARATOR=':'
> SHELL='/bin/sh'
> ac_ct_CC='gcc'
> ac_ct_F77='f77'
> bindir='${exec_prefix}/bin'
> build_alias=''
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE}'
> dvidir='${docdir}'
> exec_prefix='${prefix}'
> host_alias=''
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='${datarootdir}/info'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> mandir='${datarootdir}/man'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> prefix='/usr/local'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
> 
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
> 
> #define PACKAGE_NAME ""
> #define PACKAGE_TARNAME ""
> #define PACKAGE_VERSION ""
> #define PACKAGE_STRING ""
> #define PACKAGE_BUGREPORT ""
> #define F77_MAIN main
> 
> configure: exit 0
210. acfortran.at:13: 210. AC_F77_MAIN (acfortran.at:13): FAILED 
(acfortran.at:13)

#                             -*- compilation -*-
211. acfortran.at:14: testing ...
../../autoconf/tests/acfortran.at:14: autoconf --force -W obsolete
../../autoconf/tests/acfortran.at:14: /bin/sh -n configure
../../autoconf/tests/acfortran.at:14: autoheader 
../../autoconf/tests/acfortran.at:14: ./configure -C
--- /dev/null   2008-08-18 10:39:53.180039762 +0200
+++ /tmp/autoconf/write/build/tests/testsuite.dir/at-groups/211/stderr  
2008-08-19 23:04:16.000000000 +0200
@@ -0,0 +1 @@
+configure: WARNING: cannot determine how to obtain linking information from f77
stdout:
configure: creating cache config.cache
checking for g77... no
checking for xlf... no
checking for f77... f77
checking for Fortran 77 compiler default output file name... a.out
checking whether the Fortran 77 compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking how to get verbose linking output from f77... 
checking for Fortran 77 libraries of f77... 
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, extra 
underscore
configure: updating cache config.cache
configure: creating ./config.status
config.status: creating config.h
config.log:
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> It was created by configure, which was
> generated by GNU Autoconf 2.62.32-ea2e.  Invocation command line was
> 
>   $ ./configure -C
> 
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> 
> hostname = fuchs
> uname -m = i686
> uname -r = 2.6.22-3-686
> uname -s = Linux
> uname -v = #1 SMP Sun Feb 10 20:20:49 UTC 2008
> 
> /usr/bin/uname -p = unknown
> /bin/uname -X     = unknown
> 
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
> 
> PATH: /tmp/autoconf/write/build/tests
> PATH: /tmp/autoconf/write/autoconf/tests
> PATH: /home/ralf/local/bin
> PATH: /opt/intel_cc_80/bin
> PATH: /opt/intel_fc_80/bin
> PATH: /usr/local/bin
> PATH: /usr/bin
> PATH: /bin
> PATH: /usr/bin/X11
> PATH: /usr/games
> PATH: /usr/local/pgi/linux86/6.0/bin
> PATH: /usr/X11R6/bin
> 
> 
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
> 
> configure:1642: creating cache config.cache
> configure:1788: checking for g77
> configure:1818: result: no
> configure:1788: checking for xlf
> configure:1818: result: no
> configure:1788: checking for f77
> configure:1804: found /usr/bin/f77
> configure:1815: result: f77
> configure:1845: checking for Fortran 77 compiler version
> configure:1853: f77 --version >&5
> /usr/bin/f77: Illegal option: --version
> configure:1857: $? = 255
> configure:1864: f77 -v >&5
> /usr/bin/f77: fort77 Version 1.15
> /usr/bin/f77: No input files specified
> configure:1868: $? = 255
> configure:1875: f77 -V >&5
> /usr/bin/f77 : Missing argument to "-V"
> configure:1879: $? = 255
> configure:1893: checking for Fortran 77 compiler default output file name
> configure:1915: f77   conftest.f  >&5
>    MAIN main:
> configure:1919: $? = 0
> configure:1957: result: a.out
> configure:1976: checking whether the Fortran 77 compiler works
> configure:1986: ./a.out
> configure:1990: $? = 0
> configure:2009: result: yes
> configure:2016: checking whether we are cross compiling
> configure:2018: result: no
> configure:2021: checking for suffix of executables
> configure:2028: f77 -o conftest   conftest.f  >&5
>    MAIN main:
> configure:2032: $? = 0
> configure:2058: result: 
> configure:2064: checking for suffix of object files
> configure:2080: f77 -c  conftest.f >&5
>    MAIN main:
> configure:2084: $? = 0
> configure:2109: result: o
> configure:2117: checking whether we are using the GNU Fortran 77 compiler
> configure:2136: f77 -c  conftest.F >&5
>    MAIN main:
> configure:2143: $? = 0
> configure:2160: result: yes
> configure:2166: checking whether f77 accepts -g
> configure:2183: f77 -c -g conftest.f >&5
>    MAIN main:
> configure:2190: $? = 0
> configure:2206: result: yes
> configure:2240: checking how to get verbose linking output from f77
> configure:2256: f77 -c -g -O2 conftest.f >&5
>    MAIN main:
> configure:2263: $? = 0
> configure:2285: f77 -o conftest -g -O2 -v conftest.f
> /usr/bin/f77: fort77 Version 1.15
> /usr/bin/f77: Running "/usr/bin/f2c -g -Nn802 -I. < conftest.f | 
> /usr/bin/perl -p -e 's/^(#line.*)""/$1"conftest.f"/'  > /tmp/fort77-8795-1.c"
>    MAIN main:
> /usr/bin/f77: Running "gcc" "-g" "-O2" "-c" "-o" "conftest.o" 
> "/tmp/fort77-8795-1.c"
> /usr/bin/f77: unlinking /tmp/fort77-8795-1.c
> /usr/bin/f77: Running "gcc" "-o" "conftest" "conftest.o" "-g" "-O2" "-lf2c" 
> "-lm"
> /usr/bin/f77: unlinking conftest.o
> configure:2285: f77 -o conftest -g -O2 -verbose conftest.f
> /usr/bin/f77: Illegal option: -verbose
> configure:2285: f77 -o conftest -g -O2 --verbose conftest.f
> /usr/bin/f77: Illegal option: --verbose
> configure:2285: f77 -o conftest -g -O2 -V conftest.f
> /usr/bin/f77: No input files specified
> configure:2285: f77 -o conftest -g -O2 -### conftest.f
> /usr/bin/f77: Illegal option: -###
> configure:2340: WARNING: cannot determine how to obtain linking information 
> from f77
> configure:2354: result: 
> configure:2356: checking for Fortran 77 libraries of f77
> configure:2379: f77 -o conftest -g -O2 conftest.f
>    MAIN main:
> configure:2556: result: 
> configure:2615: checking for gcc
> configure:2631: found /usr/bin/gcc
> configure:2642: result: gcc
> configure:2882: checking for C compiler version
> configure:2890: gcc --version >&5
> gcc (Debian 4.3.1-2) 4.3.1
> Copyright (C) 2008 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> configure:2894: $? = 0
> configure:2901: gcc -v >&5
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.1-2' 
> --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs 
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared 
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
> --enable-threads=posix --enable-nls 
> --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 
> --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr 
> --enable-targets=all --enable-cld --enable-checking=release 
> --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
> Thread model: posix
> gcc version 4.3.1 (Debian 4.3.1-2) 
> configure:2905: $? = 0
> configure:2912: gcc -V >&5
> gcc: '-V' option must have argument
> configure:2916: $? = 1
> configure:2919: checking whether we are using the GNU C compiler
> configure:2956: gcc -c   conftest.c >&5
> configure:2963: $? = 0
> configure:2980: result: yes
> configure:2989: checking whether gcc accepts -g
> configure:3027: gcc -c -g  conftest.c >&5
> configure:3034: $? = 0
> configure:3151: result: yes
> configure:3168: checking for gcc option to accept ISO C89
> configure:3250: gcc  -c -g -O2  conftest.c >&5
> configure:3257: $? = 0
> configure:3280: result: none needed
> configure:3304: checking for dummy main to link with Fortran 77 libraries
> configure:3348: gcc -o conftest -g -O2   conftest.c   >&5
> configure:3355: $? = 0
> configure:3443: result: none
> configure:3482: checking for Fortran 77 name-mangling scheme
> configure:3501: f77 -c -g -O2 conftest.f >&5
>    foobar:
>    foo_bar:
> configure:3508: $? = 0
> configure:3563: gcc -o conftest -g -O2   conftest.c cfortran_test.o   >&5
> /tmp/ccotHgw3.o: In function `main':
> /tmp/autoconf/write/build/tests/testsuite.dir/211/conftest.c:27: undefined 
> reference to `foobar'
> collect2: ld returned 1 exit status
> configure:3570: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> | 
> | /* Override any GCC internal prototype to avoid an error.
> |    Use char because int might match the return type of a GCC
> |    builtin and then its argument prototype would still apply.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | char foobar ();
> | #ifdef F77_DUMMY_MAIN
> | 
> | #  ifdef __cplusplus
> |      extern "C"
> | #  endif
> |    int F77_DUMMY_MAIN() { return 1; }
> | 
> | #endif
> | int
> | main ()
> | {
> | return foobar ();
> |   ;
> |   return 0;
> | }
> configure:3563: gcc -o conftest -g -O2   conftest.c cfortran_test.o   >&5
> configure:3570: $? = 0
> configure:3652: gcc -o conftest -g -O2   conftest.c cfortran_test.o   >&5
> /tmp/ccEeSVfj.o: In function `main':
> /tmp/autoconf/write/build/tests/testsuite.dir/211/conftest.c:27: undefined 
> reference to `foo_bar_'
> collect2: ld returned 1 exit status
> configure:3659: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> | 
> | /* Override any GCC internal prototype to avoid an error.
> |    Use char because int might match the return type of a GCC
> |    builtin and then its argument prototype would still apply.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | char foo_bar_ ();
> | #ifdef F77_DUMMY_MAIN
> | 
> | #  ifdef __cplusplus
> |      extern "C"
> | #  endif
> |    int F77_DUMMY_MAIN() { return 1; }
> | 
> | #endif
> | int
> | main ()
> | {
> | return foo_bar_ ();
> |   ;
> |   return 0;
> | }
> configure:3652: gcc -o conftest -g -O2   conftest.c cfortran_test.o   >&5
> configure:3659: $? = 0
> configure:3722: result: lower case, underscore, extra underscore
> configure:3887: updating cache config.cache
> configure:3924: creating ./config.status
> 
> ## ---------------------- ##
> ## Running config.status. ##
> ## ---------------------- ##
> 
> This file was extended by config.status, which was
> generated by GNU Autoconf 2.62.32-ea2e.  Invocation command line was
> 
>   CONFIG_FILES    = 
>   CONFIG_HEADERS  = 
>   CONFIG_LINKS    = 
>   CONFIG_COMMANDS = 
>   $ ./config.status 
> 
> on fuchs
> 
> config.status:597: creating config.h
> 
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
> 
> ac_cv_c_compiler_gnu=yes
> ac_cv_env_CC_set=
> ac_cv_env_CC_value=
> ac_cv_env_CFLAGS_set=
> ac_cv_env_CFLAGS_value=
> ac_cv_env_CPPFLAGS_set=
> ac_cv_env_CPPFLAGS_value=
> ac_cv_env_F77_set=
> ac_cv_env_F77_value=
> ac_cv_env_FFLAGS_set=
> ac_cv_env_FFLAGS_value=
> ac_cv_env_LDFLAGS_set=
> ac_cv_env_LDFLAGS_value=
> ac_cv_env_LIBS_set=
> ac_cv_env_LIBS_value=
> ac_cv_env_build_alias_set=
> ac_cv_env_build_alias_value=
> ac_cv_env_host_alias_set=
> ac_cv_env_host_alias_value=
> ac_cv_env_target_alias_set=
> ac_cv_env_target_alias_value=
> ac_cv_f77_compiler_gnu=yes
> ac_cv_f77_dummy_main=none
> ac_cv_f77_libs=
> ac_cv_f77_mangling='lower case, underscore, extra underscore'
> ac_cv_fortran_dummy_main=none
> ac_cv_objext=o
> ac_cv_prog_ac_ct_CC=gcc
> ac_cv_prog_ac_ct_F77=f77
> ac_cv_prog_cc_c89=
> ac_cv_prog_cc_g=yes
> ac_cv_prog_f77_g=yes
> ac_cv_prog_f77_v=
> 
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
> 
> CC='gcc'
> CFLAGS='-g -O2'
> CPPFLAGS=''
> DEFS='-DHAVE_CONFIG_H'
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EXEEXT=''
> F77='f77'
> FFLAGS='-g -O2'
> FLIBS=''
> LDFLAGS=''
> LIBOBJS=''
> LIBS=''
> LTLIBOBJS=''
> OBJEXT='o'
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME=''
> PACKAGE_STRING=''
> PACKAGE_TARNAME=''
> PACKAGE_VERSION=''
> PATH_SEPARATOR=':'
> SHELL='/bin/sh'
> ac_ct_CC='gcc'
> ac_ct_F77='f77'
> bindir='${exec_prefix}/bin'
> build_alias=''
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE}'
> dvidir='${docdir}'
> exec_prefix='${prefix}'
> host_alias=''
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='${datarootdir}/info'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> mandir='${datarootdir}/man'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> prefix='/usr/local'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
> 
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
> 
> #define PACKAGE_NAME ""
> #define PACKAGE_TARNAME ""
> #define PACKAGE_VERSION ""
> #define PACKAGE_STRING ""
> #define PACKAGE_BUGREPORT ""
> #define F77_FUNC(name,NAME) name ## _
> #define F77_FUNC_(name,NAME) name ## __
> 
> configure: exit 0
211. acfortran.at:14: 211. AC_F77_WRAPPERS (acfortran.at:14): FAILED 
(acfortran.at:14)

[...]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]