* Ralf Wildenhues wrote on Thu, Sep 17, 2009 at 07:50:10PM CEST: > * Steffen Dettmer wrote on Thu, Sep 17, 2009 at 05:12:31PM CEST: > > recent versions check if $CC supports fopen, FILE* and so on. This > > breaks environments that don't have <stdio.h> / libc.a. > > This is a 2.64 regression and has been fixed since in the git tree: > <http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6839/focus=6750> Sorry, hit the send button too soon. You may work around it by putting this in your configure.ac before any of the AC_PROG_{CC,CXX,...} macros. Please note that with this workaround, you may again have to work around this bug on systems like BG/L: <http://thread.gmane.org/gmane.comp.sysutils.autoconf.patches/6656> Cheers, Ralf dnl Fix 2.64 cross compile detection for AVR and RTEMS dnl by not trying to compile fopen. m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.64], [m4_foreach([_GCC_LANG], [C, C++, Fortran, Fortran 77], [m4_define([_AC_LANG_IO_PROGRAM(]_GCC_LANG[)], m4_defn([AC_LANG_PROGRAM(]_GCC_LANG[)]))])]) _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf