Re: Run automake to create config.sub without any Makefile.am
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On Tuesday 10 January 2012 03:38:03 Roger Pau Monné wrote: > 2012/1/10 Eric Blake: > > On 01/09/2012 03:46 PM, Roger Pau Monné wrote: > >> AC_CANONICAL_HOST > > > > As documented in > > https://www.gnu.org/software/autoconf/manual/autoconf.html#Canonicalizing > > , if you use AC_CANONICAL_*, then _you_ are responsible for providing > > config.sub in the AC_CONFIG_AUX_DIR (default '.') directory. You can > > meet this requirement by using automake, or you can meet it by doing 'cp > > /some/path/to/config.sub .' by hand. [Hint - if you built autoconf from > > source, then your autoconf source tree includes those files under the > > build-aux/ subdirectory] > > Thanks for the tip, I didn't know AC_CANONICAL_HOST was causing this. > Since I only used this macro to get the OS name, I've replaced it with > `uname -s`, and forget about config.sub and config.guess. oh god, please do not do that. that's the exact sort of thing you should _never_ do. you've just broken any hope of properly cross-compiling your package. -mike
Description: This is a digitally signed message part.
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf
[GCC Help] [Kernel Discussion] [RPM Discussion] [Red Hat Development] [Yosemite News] [USB] [Samba]