1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
put /local/fungw/mod {fungw_cli}
put /local/fungw/mod_dir {cli}
put /local/fungw/cquote {sh_head}
put /local/fungw/mod_distclean_files {os_dep.h}
# need both fork and pipe
put /local/fungw/cli_ok {true}
if ?libs/proc/fork/presents
then
else
put /local/fungw/cli_ok {false}
end
if ?libs/io/pipe/presents
then
else
put /local/fungw/cli_ok {false}
end
switch ?libs/proc/fork/presents
case {true}
put /local/fungw/mod_src {fungw_cli.c}
include {Plugin.tmpasm}
end
default
include {Disable.tmpasm}
end
end
put /local/fungw/tmp libs/proc/fork/includes
append /local/fungw/tmp libs/io/pipe/includes
gsub /local/fungw/tmp {\\\\n *} {\n}
#uniq /local/fungw/tmp /local/fungw/tmp {#define} {#include}
redir [@@/local/fungw/mod_dir@/os_dep.h@]
print [~/*** Automatically generated by scconfig, do not edit. Source: cli/Plug.tmpasm ***/
#include <sys/types.h>
#include <signal.h>
~/local/fungw/tmp~
~]
redir
|