Index: trunk/config.auto.h.in =================================================================== --- trunk/config.auto.h.in (revision 526) +++ trunk/config.auto.h.in (revision 527) @@ -136,8 +136,6 @@ # define __EXTENSIONS__ 1 #endif -#define HOST "unknown-unknown-linux-gnu" - /****************************************************************************/ /* These are all in C89 - pcb-rnd does not support anything below C89, so these are safe to hardwire */ @@ -229,8 +227,14 @@ print {\n\n/* Define to 1 if Xrender is available */\n} print_ternary libs/gui/xrender/presents {#define HAVE_XRENDER 1} {/*#undef HAVE_XRENDER */} + + print [@ +/* The host "triplet" - it's really a pair now: machine-os */ +#define HOST "@sys/sysid@" + + /* Directory separator char */ #define PCB_DIR_SEPARATOR_C '@sys/path_sep@' Index: trunk/scconfig/hooks.c =================================================================== --- trunk/scconfig/hooks.c (revision 526) +++ trunk/scconfig/hooks.c (revision 527) @@ -102,6 +102,7 @@ require("fstools/ln", 0, 1); require("fstools/mkdir", 0, 1); require("sys/ext_exe", 0, 1); + require("sys/sysid", 0, 1); /* options for config.h */ require("sys/path_sep", 0, 1);