Mercurial > octave-nkf
comparison configure.ac @ 18264:d033b08e9b0e stable
Detect and use appropriate terminal attribute functions (bug #41212)
* configure.ac: Add AC_CHECK_FUNCS for tcgetattr and tcsetattr.
* kpty.cpp (_tcgetattr, _tcsetattr): Define to the appropriate terminal
attribute functions based on system library support, not OS type macros.
Fixes build failures on non-Linux GNU-based systems. Based on a Debian
patch to the kde4libs package.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Sun, 12 Jan 2014 17:51:47 -0500 |
parents | b6b6e0dc700e |
children | 975480e1be4b |
comparison
equal
deleted
inserted
replaced
18261:09ef57c61b3b | 18264:d033b08e9b0e |
---|---|
2184 AC_CHECK_FUNCS([isascii kill]) | 2184 AC_CHECK_FUNCS([isascii kill]) |
2185 AC_CHECK_FUNCS([lgamma lgammaf lgamma_r lgammaf_r]) | 2185 AC_CHECK_FUNCS([lgamma lgammaf lgamma_r lgammaf_r]) |
2186 AC_CHECK_FUNCS([log1p log1pf pipe]) | 2186 AC_CHECK_FUNCS([log1p log1pf pipe]) |
2187 AC_CHECK_FUNCS([realpath resolvepath roundl]) | 2187 AC_CHECK_FUNCS([realpath resolvepath roundl]) |
2188 AC_CHECK_FUNCS([select setgrent setpwent siglongjmp strsignal]) | 2188 AC_CHECK_FUNCS([select setgrent setpwent siglongjmp strsignal]) |
2189 AC_CHECK_FUNCS([tempnam tgammaf toascii]) | 2189 AC_CHECK_FUNCS([tcgetattr tcsetattr tempnam tgammaf toascii]) |
2190 AC_CHECK_FUNCS([umask waitpid]) | 2190 AC_CHECK_FUNCS([umask waitpid]) |
2191 AC_CHECK_FUNCS([_kbhit]) | 2191 AC_CHECK_FUNCS([_kbhit]) |
2192 | 2192 |
2193 dnl There are no workarounds in the code for missing these functions. | 2193 dnl There are no workarounds in the code for missing these functions. |
2194 AC_CHECK_FUNCS([modf pow sqrt sqrtf], [], | 2194 AC_CHECK_FUNCS([modf pow sqrt sqrtf], [], |