mirror of
https://repo.or.cz/socat.git
synced 2025-07-15 15:43:24 +00:00
Function cfmakeraw() is simulated when missing
This commit is contained in:
parent
3f63c9889f
commit
81c4892599
6 changed files with 39 additions and 12 deletions
|
@ -91,6 +91,7 @@ dnl Checks for setgrent, getgrent and endgrent.
|
|||
AC_CHECK_FUNCS(setgrent getgrent endgrent)
|
||||
dnl Checks for getgrouplist() /* BSD */
|
||||
AC_CHECK_FUNCS(getgrouplist)
|
||||
AC_CHECK_FUNCS(cfmakeraw)
|
||||
|
||||
dnl Link libresolv if necessary (for Mac OS X)
|
||||
AC_SEARCH_LIBS([res_9_init], [resolv])
|
||||
|
@ -101,7 +102,6 @@ AC_CHECK_FUNC(hstrerror, , AC_CHECK_LIB(resolv, hstrerror, [LIBS="$LIBS -lresol
|
|||
AC_CHECK_FUNC(gethostent, , AC_CHECK_LIB(nsl, gethostent))
|
||||
AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
|
||||
|
||||
|
||||
dnl Check for function prototype and in lib
|
||||
dnl arg1: function name
|
||||
dnl arg2: required include files beyond sysincludes.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue