Chet Ramey wrote:
Christian Boon wrote:

This is from aclocal.m4:

AC_DEFUN(BASH_SYS_JOB_CONTROL_MISSING,
[AC_REQUIRE([BASH_SYS_SIGNAL_VINTAGE])
AC_MSG_CHECKING(for presence of necessary job control definitions)
AC_CACHE_VAL(bash_cv_job_control_missing,
[AC_TRY_RUN([
#include <sys/types.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <signal.h>

Chris

Does anybody know what is going wrong or what is missing?

Bash does not configure in job control when cross-compiling.  You can
remove the JOB_CONTROL_MISSING define from config.h and try building
without it, but there's no guarantee that the necessary capabilities
are present on the target system.  The macro you partially quoted above
encapsulates the required functionality.  If building without
JOB_CONTROL_MISSING defined doesn't result in a binary with job control
working, the tests in the macro give you a hint about where to look.

Chet



removing JOB_CONTROL_MISSING from config.h doesnt work.
but when i do:

export bash_cv_job_control_missing=present

job control is compiling and working.

Chris



Reply via email to