Nikita Karetnikov <nik...@karetnikov.org> skribis: >> ++if test "x$cross_compiling" = "xyes"; then >> ++ # It may be that we don't have a working libc yet, for instance >> ++ # because we're bootstrapping the cross-compilation tool chain. >> ++ # Thus, use this undocumented Autoconf macro designed for this. >> ++ AC_NO_EXECUTABLES >> ++ echo done >> ++fi > > Would you like to report it to the Autoconf team?
Not needed, it’s already documented as a dirty hack for this corner case: # AC_NO_EXECUTABLES # ----------------- # FIXME: The GCC team has specific needs which the current Autoconf # framework cannot solve elegantly. This macro implements a dirty # hack until Autoconf is able to provide the services its users # need. # # Several of the support libraries that are often built with GCC can't # assume the tool-chain is already capable of linking a program: the # compiler often expects to be able to link with some of such # libraries. (From lang.m4.) Ludo’.