Configure improvements from Tim Freeman <tim@fungible.com>
Adds support for cross-compilation. Removed deprecated macros. Adds NO_SYSTEM compile time flag.
This commit is contained in:
4
ui.c
4
ui.c
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user