comparison 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
comparison
equal deleted inserted replaced
17569:9d0992c6df30 17570:1c7d768c3847
2080 ### Checks for functions and variables. 2080 ### Checks for functions and variables.
2081 2081
2082 dnl These checks define/undefine HAVE_FUNCNAME in config.h. 2082 dnl These checks define/undefine HAVE_FUNCNAME in config.h.
2083 dnl Code tests HAVE_FUNCNAME and either uses function or provides workaround. 2083 dnl Code tests HAVE_FUNCNAME and either uses function or provides workaround.
2084 dnl Use multiple AC_CHECKs to avoid line continuations '\' in list 2084 dnl Use multiple AC_CHECKs to avoid line continuations '\' in list
2085 AC_CHECK_FUNCS([canonicalize_file_name dup2]) 2085 AC_CHECK_FUNCS([canonicalize_file_name ctermid dup2])
2086 AC_CHECK_FUNCS([endgrent endpwent execvp expm1 expm1f fork]) 2086 AC_CHECK_FUNCS([endgrent endpwent execvp expm1 expm1f fork])
2087 AC_CHECK_FUNCS([getegid geteuid getgid getgrent getgrgid getgrnam]) 2087 AC_CHECK_FUNCS([getegid geteuid getgid getgrent getgrgid getgrnam])
2088 AC_CHECK_FUNCS([getpgrp getpid getppid getpwent getpwuid getuid]) 2088 AC_CHECK_FUNCS([getpgrp getpid getppid getpwent getpwuid getuid])
2089 AC_CHECK_FUNCS([isascii kill]) 2089 AC_CHECK_FUNCS([isascii kill])
2090 AC_CHECK_FUNCS([lgamma lgammaf lgamma_r lgammaf_r]) 2090 AC_CHECK_FUNCS([lgamma lgammaf lgamma_r lgammaf_r])