mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-24 13:50:08 +00:00
Make sure asterisk builds on OpenBSD
OpenBSD defines SO_PEERCRED, but it returns a 'struct sockpeercred', not 'struct ucred', which causes compilation of main/asterisk.c to fail in read_credentials(). This allows configure to check for sockpeercred and asterisk to deal with it properly. (closes issue ASTERISK-18929) Reported-by: Barry Miller Patch-by: Barry Miller git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@350730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -17,6 +17,10 @@ case `uname -sr` in
|
||||
MY_AC_VER=259
|
||||
MY_AM_VER=19
|
||||
;;
|
||||
OpenBSD*)
|
||||
export AUTOCONF_VERSION=2.63
|
||||
export AUTOMAKE_VERSION=1.9
|
||||
;;
|
||||
*'BSD'*)
|
||||
MY_AC_VER=-2.62
|
||||
MY_AM_VER=-1.9
|
||||
|
||||
Reference in New Issue
Block a user