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]*)
|
*freebsd2* | *freebsd* | *netbsd* | *openbsd* | *osf[12]*)
|
||||||
echo "------- START libzrtp configuration for BSD platform ------------"
|
echo "------- START libzrtp configuration for BSD platform ------------"
|
||||||
AC_DEFINE(PLATFORM,ZP_BSD,BSD platform)
|
|
||||||
;;
|
;;
|
||||||
hpux* | irix* | linuxaout* | linux* | osf* | solaris2* | sunos4*)
|
hpux* | irix* | linuxaout* | linux* | osf* | solaris2* | sunos4*)
|
||||||
echo "------- START libzrtp configuration for Linux platform ------------"
|
echo "------- START libzrtp configuration for Linux platform ------------"
|
||||||
|
@ -84,12 +83,11 @@ AC_DEFINE(INLINE,[static inline],[Define inline construction for your platform])
|
||||||
#
|
#
|
||||||
# Documentation
|
# Documentation
|
||||||
#
|
#
|
||||||
|
AM_CONDITIONAL([HAVE_DOXYGEN], [false])
|
||||||
AC_CHECK_PROGS([DOXYGEN], [doxygen])
|
AC_CHECK_PROGS([DOXYGEN], [doxygen])
|
||||||
if test -z "$DOXYGEN";
|
if test -z "$DOXYGEN"; then
|
||||||
then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
|
AC_MSG_WARN([Doxygen not found - continuing without Doxygen support])
|
||||||
fi
|
else
|
||||||
|
|
||||||
if test -n "$DOXYGEN"; then
|
|
||||||
AM_CONDITIONAL([HAVE_DOXYGEN], [true])
|
AM_CONDITIONAL([HAVE_DOXYGEN], [true])
|
||||||
AC_CONFIG_FILES([doc/Doxyfile])
|
AC_CONFIG_FILES([doc/Doxyfile])
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
#if !defined(ZRTP_PLATFORM)
|
#if !defined(ZRTP_PLATFORM)
|
||||||
# if defined(ANDROID_NDK)
|
# if defined(ANDROID_NDK)
|
||||||
# define ZRTP_PLATFORM ZP_ANDROID
|
# define ZRTP_PLATFORM ZP_ANDROID
|
||||||
|
# elif defined(__FreeBSD__)
|
||||||
|
# define ZRTP_PLATFORM ZP_BSD
|
||||||
# elif defined(linux) || defined(__linux)
|
# elif defined(linux) || defined(__linux)
|
||||||
# include <linux/version.h>
|
# include <linux/version.h>
|
||||||
# define ZRTP_PLATFORM ZP_LINUX
|
# define ZRTP_PLATFORM ZP_LINUX
|
||||||
|
|
Loading…
Reference in New Issue