forked from Mirrors/freeswitch
bootstrap.sh: add support for libzrtp
This commit is contained in:
parent
8f3bb106ba
commit
cdf6e17713
|
@ -8,7 +8,7 @@ BGJOB=false
|
||||||
BASEDIR=`pwd`;
|
BASEDIR=`pwd`;
|
||||||
LIBDIR=${BASEDIR}/libs;
|
LIBDIR=${BASEDIR}/libs;
|
||||||
SUBDIRS="apr \
|
SUBDIRS="apr \
|
||||||
ilbc curl iksemel js js/nsprpub ldns libdingaling libedit libsndfile pcre sofia-sip \
|
libzrtp ilbc curl iksemel js js/nsprpub ldns libdingaling libedit libsndfile pcre sofia-sip \
|
||||||
speex sqlite srtp openzap freetdm spandsp libg722_1 portaudio unimrcp tiff-3.8.2 broadvoice silk libcodec2 \
|
speex sqlite srtp openzap freetdm spandsp libg722_1 portaudio unimrcp tiff-3.8.2 broadvoice silk libcodec2 \
|
||||||
fs";
|
fs";
|
||||||
|
|
||||||
|
@ -307,6 +307,10 @@ bootstrap_apr() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bootstrap_libzrtp() {
|
||||||
|
(cd ${LIBDIR}/libzrtp/projects/gnu && ./bootstrap.sh)
|
||||||
|
}
|
||||||
|
|
||||||
# Libs automake automation function
|
# Libs automake automation function
|
||||||
libbootstrap() {
|
libbootstrap() {
|
||||||
i=$1
|
i=$1
|
||||||
|
@ -379,7 +383,7 @@ bootstrap_fs() {
|
||||||
bootstrap_libs() {
|
bootstrap_libs() {
|
||||||
for i in ${SUBDIRS}; do
|
for i in ${SUBDIRS}; do
|
||||||
case "$i" in
|
case "$i" in
|
||||||
apr|fs) bootstrap_$i && continue ;;
|
apr|fs|libzrtp) bootstrap_$i && continue ;;
|
||||||
esac
|
esac
|
||||||
if [ "${BGJOB}" = "false" ]; then
|
if [ "${BGJOB}" = "false" ]; then
|
||||||
libbootstrap ${i}
|
libbootstrap ${i}
|
||||||
|
|
Loading…
Reference in New Issue