forked from Mirrors/freeswitch
Enable build support for libzrtp on FreeBSD
FS-4262 --resolve FS-5189 --resolve
This commit is contained in:
commit
c9a5a98c41
@ -24,7 +24,6 @@ case $target_os in
|
||||
;;
|
||||
*freebsd2* | *freebsd* | *netbsd* | *openbsd* | *osf[12]*)
|
||||
echo "------- START libzrtp configuration for BSD platform ------------"
|
||||
AC_DEFINE(PLATFORM,ZP_BSD,BSD platform)
|
||||
;;
|
||||
hpux* | irix* | linuxaout* | linux* | osf* | solaris2* | sunos4*)
|
||||
echo "------- START libzrtp configuration for Linux platform ------------"
|
||||
@ -84,12 +83,11 @@ AC_DEFINE(INLINE,[static inline],[Define inline construction for your platform])
|
||||
#
|
||||
# Documentation
|
||||
#
|
||||
AM_CONDITIONAL([HAVE_DOXYGEN], [false])
|
||||
AC_CHECK_PROGS([DOXYGEN], [doxygen])
|
||||
if test -z "$DOXYGEN";
|
||||
then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
|
||||
fi
|
||||
|
||||
if test -n "$DOXYGEN"; then
|
||||
if test -z "$DOXYGEN"; then
|
||||
AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
|
||||
else
|
||||
AM_CONDITIONAL([HAVE_DOXYGEN], [true])
|
||||
AC_CONFIG_FILES([doc/Doxyfile])
|
||||
fi
|
||||
|
@ -19,6 +19,8 @@
|
||||
#if !defined(ZRTP_PLATFORM)
|
||||
# if defined(ANDROID_NDK)
|
||||
# define ZRTP_PLATFORM ZP_ANDROID
|
||||
# elif defined(__FreeBSD__)
|
||||
# define ZRTP_PLATFORM ZP_BSD
|
||||
# elif defined(linux) || defined(__linux)
|
||||
# include <linux/version.h>
|
||||
# define ZRTP_PLATFORM ZP_LINUX
|
||||
|
Loading…
Reference in New Issue
Block a user