On 11/07/2012 08:19 AM, Joerg Schilling wrote: > Eric Blake <ebl...@redhat.com> wrote: > >> On 11/07/2012 03:16 AM, Joerg Schilling wrote: >>> and it compiles/runs for/on Android - not shure whether this is true for >>> gtar >>> as Android contains a lot of nasty things that prevent gnu autoconf from >>> working as expected an as gnu autoconf does not support cross-compilation. >> >> Please don't spread FUD. GNU Autoconf supports cross-compilation just fine. > > Since when? > > I am not sure whether you know that there are some tests that require to be > run > on the target platform to get a correct result. The GNU autoconf versions I > am > aware of do not support to run binaries on a remote target platform.
GNU Autoconf has supported the option for packages to specify a fallback that avoids the need to run a cross-compiled binary; this is done by supplying the fourth argument to AC_RUN_IFELSE (present since Autoconf 2.55 in 2002): https://www.gnu.org/software/autoconf/manual/autoconf.html#Runtime It is not Autoconf's fault if packages use this macro incorrectly. I will grant that not all packages that use autoconf are designed for cross-compilation, but that is the flaw of such packages, and not of autoconf. Further complaints or suggestions about autoconf are probably better directed to the autoconf list instead of the tar list. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature