Commit 98ffcb52 authored by pdw's avatar pdw

Configure improvements from Tim Freeman <tim@fungible.com>

Adds support for cross-compilation.  Removed deprecated macros.
Adds NO_SYSTEM compile time flag.
parent 44206c8a
This diff is collapsed.
......@@ -1045,6 +1045,7 @@ void ui_loop() {
break;
}
case '!': {
#ifndef NO_SYSTEM
char *s;
dontshowdisplay = 1;
if ((s = edline(0, "Command", "")) && s[strspn(s, " \t")]) {
......@@ -1073,6 +1074,9 @@ void ui_loop() {
xfree(s);
}
dontshowdisplay = 0;
#else
showhelp("Sorry, subshells have been disabled.");
#endif
break;
}
case 'T':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment