Index: trunk/config.h.in =================================================================== --- trunk/config.h.in (revision 26985) +++ trunk/config.h.in (revision 26986) @@ -150,6 +150,9 @@ print_ternary ?signal/names/SIGQUIT/presents {#define PCB_HAVE_SIGQUIT 1} {/* #undef PCB_HAVE_SIGQUIT */} print {\n} +print {\n\n/* Wether fungw is system installed */\n} +print_ternary /local/pcb/fungw_system {#define PCB_HAVE_SYS_FUNGW 1} {/* #undef PCB_HAVE_SYS_FUNGW */} + print {\n/* Code warnings for TODO, portable (unlike #warning) */} if ?cc/pragma_message then Index: trunk/scconfig/Rev.h =================================================================== --- trunk/scconfig/Rev.h (revision 26985) +++ trunk/scconfig/Rev.h (revision 26986) @@ -1 +1 @@ -static const int myrev = 26982; +static const int myrev = 26986; Index: trunk/scconfig/Rev.tab =================================================================== --- trunk/scconfig/Rev.tab (revision 26985) +++ trunk/scconfig/Rev.tab (revision 26986) @@ -1,3 +1,4 @@ +26986 configure hidlib: fallback scripting with libfawk 26982 configure hidlib: conf namespace cleanup 26976 configure rename netlist2.[ch] to netlist.[ch] 26946 configure hidlib: split DAD from hid_attrib Index: trunk/scconfig/hooks.c =================================================================== --- trunk/scconfig/hooks.c (revision 26985) +++ trunk/scconfig/hooks.c (revision 26986) @@ -731,10 +731,13 @@ put("libs/gui/gd/gdImageJpeg/presents", sfalse); } - if ((!istrue(get("libs/script/fungw/presents"))) && plug_is_enabled("script")) { - report_repeat("WARNING: Since there's no system-installed fungw, disabling the script plugin...\n"); - hook_custom_arg("disable-script", NULL); + if (!istrue(get("libs/script/fungw/presents"))) { + if (plug_is_enabled("script")) + report_repeat("WARNING: Since there's no system-installed fungw, only limited scripting is available using libfawk - if you need more scripting languages, install fungw and reconfigure.\n"); + put("/local/pcb/fungw_system", sfalse); } + else + put("/local/pcb/fungw_system", strue); /* generic utils for Makefiles */ require("sys/ext_exe", 0, 1);