Mercurial > hg > octave-nkf
diff configure.ac @ 17570:1c7d768c3847
don't fork if there is no controlling tty
* configure.ac: Check for ctermid.
* octave.cc (octave_fork_gui): Check for controlling tty and return
false one is not found.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 04 Oct 2013 16:10:22 -0400 |
parents | ddecb2e231d4 |
children | f5950975a172 |
line wrap: on
line diff
--- a/configure.ac +++ b/configure.ac @@ -2082,7 +2082,7 @@ dnl These checks define/undefine HAVE_FUNCNAME in config.h. dnl Code tests HAVE_FUNCNAME and either uses function or provides workaround. dnl Use multiple AC_CHECKs to avoid line continuations '\' in list -AC_CHECK_FUNCS([canonicalize_file_name dup2]) +AC_CHECK_FUNCS([canonicalize_file_name ctermid dup2]) AC_CHECK_FUNCS([endgrent endpwent execvp expm1 expm1f fork]) AC_CHECK_FUNCS([getegid geteuid getgid getgrent getgrgid getgrnam]) AC_CHECK_FUNCS([getpgrp getpid getppid getpwent getpwuid getuid])