summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-08-15 13:08:45 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-08-15 13:08:45 +0000
commit4a8fdd6aa1bff7e2d5f452e3465d242eeb7981b1 (patch)
tree032ed446ea3856ef45e8e947ba0b9943c25ce2de /configure.ac
parent557ad25f0773ae488497562a1a2d5699d7c3e9c3 (diff)
Support for GNU/kFreeBSD
kFreeBSD is GNU (with glibc) on to of a FreeBSD kernel. See http://glibc-bsd.alioth.debian.org/porting/PORTING This patch gets Asterisk close to building on Debian kFreeBSD i386, mainly by adding an extra test for __GLIBC__ in one or two (or more) places. OSARCH is set to 'kfreebsd-gnu' DAHDI support (and support for chan_vpb) was not tested. Review: https://reviewboard.asterisk.org/r/858/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@282397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 62e7895c3..e409b2321 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,6 +126,9 @@ case "${host_os}" in
linux-gnueabi)
OSARCH=linux-gnu
;;
+ kfreebsd*-gnu)
+ OSARCH=kfreebsd-gnu
+ ;;
*)
OSARCH=${host_os}
;;