Enabled job control. It doesn't fully work yet, as there's some kernel
support missing, but it cures the symptoms of bug #113. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22061 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e749c485ed
commit
1f9b6e48c3
|
@ -50,15 +50,26 @@ actions MkSignamesExt1
|
||||||
|
|
||||||
MkSignamesExt <bash>signames.h ;
|
MkSignamesExt <bash>signames.h ;
|
||||||
|
|
||||||
|
# Haiku supports job control, BeOS doesn't.
|
||||||
|
local jobControlSources ;
|
||||||
|
if $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
|
||||||
|
jobControlSources = jobs.c ;
|
||||||
|
} else {
|
||||||
|
jobControlSources = nojobs.c ;
|
||||||
|
}
|
||||||
|
|
||||||
BinCommand sh :
|
BinCommand sh :
|
||||||
parse.y shell.c eval.c general.c make_cmd.c print_cmd.c
|
parse.y shell.c eval.c general.c make_cmd.c print_cmd.c
|
||||||
dispose_cmd.c execute_cmd.c variables.c version.c
|
dispose_cmd.c execute_cmd.c variables.c version.c
|
||||||
expr.c copy_cmd.c flags.c subst.c hashcmd.c hashlib.c mailcheck.c
|
expr.c copy_cmd.c flags.c subst.c hashcmd.c hashlib.c mailcheck.c
|
||||||
trap.c alias.c nojobs.c braces.c
|
trap.c alias.c braces.c
|
||||||
input.c bashhist.c array.c arrayfunc.c pathexp.c
|
input.c bashhist.c array.c arrayfunc.c pathexp.c
|
||||||
unwind_prot.c bashline.c bracecomp.c error.c
|
unwind_prot.c bashline.c bracecomp.c error.c
|
||||||
list.c stringlib.c locale.c findcmd.c redir.c
|
list.c stringlib.c locale.c findcmd.c redir.c
|
||||||
pcomplete.c pcomplib.c syntax.c xmalloc.c test.c sig.c
|
pcomplete.c pcomplib.c syntax.c xmalloc.c test.c sig.c
|
||||||
|
|
||||||
|
$(jobControlSources)
|
||||||
|
|
||||||
: libreadline.a <bash>libglob.a libbuiltins.a libtilde.a libsh.a
|
: libreadline.a <bash>libglob.a libbuiltins.a libtilde.a libsh.a
|
||||||
libtermcap.a $(TARGET_SELECT_UNAME_ETC_LIB)
|
libtermcap.a $(TARGET_SELECT_UNAME_ETC_LIB)
|
||||||
: bash.rdef ;
|
: bash.rdef ;
|
||||||
|
|
|
@ -26,7 +26,9 @@
|
||||||
|
|
||||||
/* Define JOB_CONTROL if your operating system supports
|
/* Define JOB_CONTROL if your operating system supports
|
||||||
BSD-like job control. */
|
BSD-like job control. */
|
||||||
/* #undef JOB_CONTROL */
|
#if __HAIKU__
|
||||||
|
#define JOB_CONTROL 1
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define ALIAS if you want the alias features. */
|
/* Define ALIAS if you want the alias features. */
|
||||||
#define ALIAS 1
|
#define ALIAS 1
|
||||||
|
|
Loading…
Reference in New Issue