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:
pdw
2005-06-13 08:35:18 +00:00
parent 44206c8a75
commit 98ffcb5293
2 changed files with 121 additions and 63 deletions

4
ui.c
View File

@@ -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':