* Joseph S. Myers wrote on Fri, Apr 01, 2011 at 07:04:30PM CEST: > I see there's more than just tentative_cc that tries to deal with compiler > settings in ways that should be the responsibility of autoconf. There's > the > > # Make sure that the compiler is able to generate an executable. If it > # can't, we are probably in trouble. We don't care whether we can run the > # executable--we might be using a cross compiler--we only care whether it > # can be created. At this point the main configure script has set CC.
The first macro invoked out of the set AC_PROG_{CC,CXX,F77,FC,OBJC} will ensure that compiling and linking a small program of the given language works. So this code seems unneeded. Thanks, Ralf