1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-14 23:33:23 +00:00

Filan for Solaris: /proc/<pid>/path/

This commit is contained in:
Gerhard Rieger 2022-10-29 22:35:10 +02:00
parent e52675faed
commit c4281baabb
4 changed files with 27 additions and 7 deletions

View file

@ -1985,6 +1985,16 @@ else
AC_MSG_RESULT(no)
fi
# On Solaris family, we have to use /proc/$$/path/N
AC_MSG_CHECKING(for /proc/*/path)
if test -d /proc/$$/path; then
AC_DEFINE(HAVE_PROC_DIR_PATH, 1)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
dnl "tcpd" "tcpwrappers"
# on some platforms, raw linking with libwrap fails because allow_severity and
# deny_severity are not explicitely defined. Thus we put the libwrap part to