Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
d5eaa0bd
提交
d5eaa0bd
authored
12月 28, 2005
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
git-svn-id:
http://svn.freeswitch.org/svn/freeswitch/trunk@223
d0543943-73ff-0310-b7d9-9358b9ac24b2
上级
070e850c
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
51 行增加
和
38 行删除
+51
-38
Makefile.am
Makefile.am
+8
-2
Makefile.in
Makefile.in
+7
-2
buildlib.sh
buildlib.sh
+5
-3
configure
configure
+30
-29
mod_sndfile.c
src/mod/mod_sndfile/mod_sndfile.c
+1
-2
没有找到文件。
Makefile.am
浏览文件 @
d5eaa0bd
...
...
@@ -87,9 +87,15 @@ freeswitch_SOURCES = src/switch.c
freeswitch_CFLAGS
=
$(AM_CFLAGS)
freeswitch_LDFLAGS
=
-lfreeswitch
nodepends
:
.nodepends
:
touch
.nodepends
nodepends
:
.nodepends
yesdepends
:
rm
.nodepends
depends
:
./buildlib.sh
.
install
sqlite-3.2.8.tar.gz
--disable-tcl
--enable-threadsafe
./buildlib.sh
.
install
apr-1.2.2.tar.gz
...
...
@@ -104,7 +110,7 @@ modclean:
install_mod
:
install_mod
:
modules
@
echo
Installing
$(NAME)
@
mkdir
-p
$(PREFIX)
$(PREFIX)
/conf
$(PREFIX)
/mod
$(PREFIX)
/db
@
/bin/cp
-p
./
$(NAME)
$(PREFIX)
/bin
...
...
Makefile.in
浏览文件 @
d5eaa0bd
...
...
@@ -943,9 +943,14 @@ uninstall-info: uninstall-info-recursive
uninstall-libLTLIBRARIES uninstall-library_includeHEADERS
nodepends
:
.
nodepends
:
touch
.nodepends
nodepends
:
.nodepends
yesdepends
:
rm
.nodepends
depends
:
./buildlib.sh
.
install
sqlite-3.2.8.tar.gz
--disable-tcl
--enable-threadsafe
./buildlib.sh
.
install
apr-1.2.2.tar.gz
...
...
@@ -958,7 +963,7 @@ modules: $(NAME)
modclean
:
@
cd
src/mod
&&
for
i
in
`
find
.
-type
d
-name
mod_
\*
`
;
do
echo
making clean
$$
i
;
SOLINK
=
"
$(SOLINK)
"
CFLAGS
=
"
$(CFLAGS)
"
CC
=
"
$(CC)
"
MOD
=
"
$$
i"
$(PWD)
/modmake.sh
$(PWD)
$$
i clean
||
exit
1
;
done
install_mod
:
install_mod
:
modules
@
echo
Installing
$(NAME)
@
mkdir
-p
$(PREFIX)
$(PREFIX)
/conf
$(PREFIX)
/mod
$(PREFIX)
/db
@
/bin/cp
-p
./
$(NAME)
$(PREFIX)
/bin
...
...
buildlib.sh
浏览文件 @
d5eaa0bd
#!/bin/bash
if
[
-f
.nodepends
]
;
then
root
=
$1
shift
if
[
-f
$root
/.nodepends
]
;
then
echo
"***depends disabled*** use make yesdepends to re-enable"
exit
0
fi
root
=
$1
shift
install
=
...
...
configure
浏览文件 @
d5eaa0bd
...
...
@@ -1043,7 +1043,8 @@ Optional Packages:
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-tags[=TAGS]include additional configurations [automatic]
--with-tags[=TAGS]
include additional configurations [automatic]
Some influential environment variables:
CC C compiler command
...
...
@@ -3689,7 +3690,7 @@ ia64-*-hpux*)
;;
*
-
*
-irix6
*
)
# Find out which ABI we are using.
echo
'#line 369
2
"configure"'
>
conftest.
$ac_ext
echo
'#line 369
3
"configure"'
>
conftest.
$ac_ext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_compile
\"
"
)
>
&5
(
eval
$ac_compile
)
2>&5
ac_status
=
$?
...
...
@@ -5268,7 +5269,7 @@ fi
# Provide some information about the compiler.
echo
"
$as_me
:527
1
:"
\
echo
"
$as_me
:527
2
:"
\
"checking for Fortran 77 compiler version"
>
&5
ac_compiler
=
`
set
X
$ac_compile
;
echo
$2
`
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_compiler
--version </dev/null >&5
\"
"
)
>
&5
...
...
@@ -6366,11 +6367,11 @@ else
-e
's:.*FLAGS}? :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:63
69
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:63
70
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
cat
conftest.err
>
&5
echo
"
$as_me
:637
3
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:637
4
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
"
$ac_outfile
"
;
then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
...
...
@@ -6628,11 +6629,11 @@ else
-e
's:.*FLAGS}? :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:663
1
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:663
2
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
cat
conftest.err
>
&5
echo
"
$as_me
:663
5
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:663
6
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
"
$ac_outfile
"
;
then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
...
...
@@ -6690,11 +6691,11 @@ else
-e
's:.*FLAGS}? :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:669
3
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:669
4
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
ac_status
=
$?
cat
out/conftest.err
>
&5
echo
"
$as_me
:669
7
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:669
8
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
out/conftest2.
$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
...
...
@@ -8930,7 +8931,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
EOF
#line 893
3
"configure"
#line 893
4
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -9028,7 +9029,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
EOF
#line 903
1
"configure"
#line 903
2
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -11276,11 +11277,11 @@ else
-e
's:.*FLAGS}? :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:112
79
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:112
80
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
cat
conftest.err
>
&5
echo
"
$as_me
:1128
3
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:1128
4
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
"
$ac_outfile
"
;
then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
...
...
@@ -11338,11 +11339,11 @@ else
-e
's:.*FLAGS}? :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:1134
1
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:1134
2
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
ac_status
=
$?
cat
out/conftest.err
>
&5
echo
"
$as_me
:1134
5
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:1134
6
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
out/conftest2.
$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
...
...
@@ -12707,7 +12708,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
EOF
#line 1271
0
"configure"
#line 1271
1
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -12805,7 +12806,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
EOF
#line 1280
8
"configure"
#line 1280
9
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -13690,11 +13691,11 @@ else
-e
's:.*FLAGS}? :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:1369
3
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:1369
4
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
cat
conftest.err
>
&5
echo
"
$as_me
:1369
7
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:1369
8
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
"
$ac_outfile
"
;
then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
...
...
@@ -13752,11 +13753,11 @@ else
-e
's:.*FLAGS}? :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:1375
5
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:1375
6
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
ac_status
=
$?
cat
out/conftest.err
>
&5
echo
"
$as_me
:137
59
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:137
60
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
out/conftest2.
$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
...
...
@@ -15874,11 +15875,11 @@ else
-e
's:.*FLAGS}? :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:1587
7
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:1587
8
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
cat
conftest.err
>
&5
echo
"
$as_me
:1588
1
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:1588
2
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
"
$ac_outfile
"
;
then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
...
...
@@ -16136,11 +16137,11 @@ else
-e
's:.*FLAGS}? :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:161
39
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:161
40
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
cat
conftest.err
>
&5
echo
"
$as_me
:1614
3
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:1614
4
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
"
$ac_outfile
"
;
then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
...
...
@@ -16198,11 +16199,11 @@ else
-e
's:.*FLAGS}? :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:1620
1
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:1620
2
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
ac_status
=
$?
cat
out/conftest.err
>
&5
echo
"
$as_me
:1620
5
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:1620
6
:
\$
? =
$ac_status
"
>
&5
if
(
exit
$ac_status
)
&&
test
-s
out/conftest2.
$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
...
...
@@ -18438,7 +18439,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
EOF
#line 1844
1
"configure"
#line 1844
2
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -18536,7 +18537,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
EOF
#line 185
39
"configure"
#line 185
40
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
src/mod/mod_sndfile/mod_sndfile.c
浏览文件 @
d5eaa0bd
...
...
@@ -237,8 +237,7 @@ static switch_status setup_formats(void)
sfinfo
.
channels
=
1
;
len
=
((
major_count
+
(
exlen
+
2
))
*
sizeof
(
char
*
));
*
supported_formats
=
switch_core_permenant_alloc
(
len
);
//memset(supported_formats, 0, len);
supported_formats
=
switch_core_permenant_alloc
(
len
);
len
=
0
;
for
(
m
=
0
;
m
<
major_count
;
m
++
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论