diff options
author | Kinsey Moore <kmoore@digium.com> | 2012-01-13 21:42:12 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2012-01-13 21:42:12 +0000 |
commit | 76888b59903e8a83bdbc68bc809b7ade43fe817e (patch) | |
tree | 1808350cfc381ae911cc886547a06fd1308efab9 /bootstrap.sh | |
parent | 9c161503dca5eb7944244ba96c05270794994677 (diff) |
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
........
Merged revisions 350730 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 350731 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@350732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index 6ca277df2..3497e24e6 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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 |