2012/1/10 Eric Blake <eblake@xxxxxxxxxx>: > On 01/09/2012 03:46 PM, Roger Pau Monné wrote: >> Hello! >> >> I'm a new user of the GNU Autotools build system, and I need some help >> from more experienced Autoconf fellows. I'm trying to create an >> Autoconf script that generates a config.h and Config.mk to include to >> my sources and Makefiles respectively, but I'm having some trouble >> when trying to use Autoconf without using Automake. > > That's a supported use of autoconf, but if you don't mind me asking, > what do you have against also using automake? > >> 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. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf