mirror of
https://repo.or.cz/socat.git
synced 2025-07-14 07:23:23 +00:00
Procan: Try to identify controlling terminal
This commit is contained in:
parent
cd5673dbd0
commit
27877ea777
7 changed files with 314 additions and 36 deletions
11
configure.ac
11
configure.ac
|
@ -2191,6 +2191,17 @@ else
|
|||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
# On Solaris family there is not dirent.d_type
|
||||
AC_MSG_CHECKING(for d_type in struct dirent)
|
||||
AC_CACHE_VAL(sc_cv_dirent_d_type,
|
||||
[AC_TRY_COMPILE([#include <dirent.h>],[struct dirent d; d.d_type],
|
||||
[sc_cv_dirent_d_type=yes],
|
||||
[sc_cv_dirent_d_type=no])])
|
||||
if test $sc_cv_dirent_d_type = yes; then
|
||||
AC_DEFINE(HAVE_DIRENT_D_TYPE)
|
||||
fi
|
||||
AC_MSG_RESULT($sc_cv_dirent_d_type)
|
||||
|
||||
# Some OSes have undocumented _res.retrans, _res.retry components
|
||||
AC_MSG_CHECKING(for _res.retrans)
|
||||
AC_TRY_COMPILE([#include <resolv.h>],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue