Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
883efd4e
提交
883efd4e
authored
1月 06, 2006
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
git-svn-id:
http://svn.freeswitch.org/svn/freeswitch/trunk@296
d0543943-73ff-0310-b7d9-9358b9ac24b2
上级
f276ac9e
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
54 行增加
和
141 行删除
+54
-141
Makefile.am
Makefile.am
+4
-2
Makefile.in
Makefile.in
+5
-15
configure
configure
+29
-94
configure.in
configure.in
+0
-10
config.h.in
src/include/config.h.in
+0
-3
switch.c
src/switch.c
+1
-1
switch_resample.c
src/switch_resample.c
+0
-16
switch_utils.c
src/switch_utils.c
+15
-0
没有找到文件。
Makefile.am
浏览文件 @
883efd4e
...
...
@@ -33,6 +33,7 @@ AM_CFLAGS += -DSWITCH_MOD_DIR=\"$(PREFIX)/mod\"
AM_CFLAGS
+=
-DSWITCH_PREFIX_DIR
=
\"
$(PREFIX)
\"
AM_CFLAGS
+=
-DSWITCH_CONF_DIR
=
\"
$(PREFIX)
/conf
\"
AM_CFLAGS
+=
-DSWITCH_DB_DIR
=
\"
$(PREFIX)
/db
\"
AM_CFLAGS
+=
-DSWITCH_SVN_VERSION
=
\"
$(
shell
svnversion
.
-n
||
echo
'get svn'
)
\"
libfreeswitch_la_SOURCES
=
\
src/include/switch.h
\
...
...
@@ -58,8 +59,8 @@ src/switch_core.c \
src/switch_loadable_module.c
\
src/switch_mutex.c
\
src/switch_utils.c
\
src/switch_event.c
\
src/switch_resample.c
src/switch_event.c
#bindir = $(PREFIX)/bin
...
...
@@ -81,6 +82,7 @@ library_include_HEADERS = src/include/switch.h \
src/include/switch_event.h
\
src/include/switch_resample.h
lib_LTLIBRARIES
=
libfreeswitch.la
libfreeswitch_la_CFLAGS
=
$(AM_CFLAGS)
-Wall
-Werror
-Wstrict-prototypes
-Wmissing-prototypes
-g
libfreeswitch_la_LDFLAGS
=
-version-info
1:0:0
...
...
Makefile.in
浏览文件 @
883efd4e
...
...
@@ -77,8 +77,7 @@ am_libfreeswitch_la_OBJECTS = libfreeswitch_la-switch_buffer.lo \
libfreeswitch_la-switch_loadable_module.lo
\
libfreeswitch_la-switch_mutex.lo
\
libfreeswitch_la-switch_utils.lo
\
libfreeswitch_la-switch_event.lo
\
libfreeswitch_la-switch_resample.lo
libfreeswitch_la-switch_event.lo
libfreeswitch_la_OBJECTS
=
$(am_libfreeswitch_la_OBJECTS)
binPROGRAMS_INSTALL
=
$(INSTALL_PROGRAM)
PROGRAMS
=
$(bin_PROGRAMS)
...
...
@@ -176,8 +175,6 @@ RANLIB = @RANLIB@
SET_MAKE
=
@SET_MAKE@
SHELL
=
@SHELL@
STRIP
=
@STRIP@
SVNVERSION
=
@SVNVERSION@
SVN_VERSION
=
@SVN_VERSION@
VERSION
=
@VERSION@
ac_ct_AR
=
@ac_ct_AR@
ac_ct_CC
=
@ac_ct_CC@
...
...
@@ -238,7 +235,9 @@ AM_CFLAGS = $(shell $(APR_CONFIG) --cflags --cppflags --includes) \
-I
$(PREFIX)
/include
-DSWITCH_MOD_DIR
=
\"
$(PREFIX)
/mod
\"
\
-DSWITCH_PREFIX_DIR
=
\"
$(PREFIX)
\"
\
-DSWITCH_CONF_DIR
=
\"
$(PREFIX)
/conf
\"
\
-DSWITCH_DB_DIR
=
\"
$(PREFIX)
/db
\"
-DSWITCH_DB_DIR
=
\"
$(PREFIX)
/db
\"
\
-DSWITCH_SVN_VERSION
=
\"
$(
shell
svnversion
.
-n
||
echo
'get \
svn'
)
\"
AM_LDFLAGS
=
$(
shell
$(APR_CONFIG)
--link-ld
--libs
)
$(
shell
\
$(APU_CONFIG)
--link-ld
--libs
)
-lsqlite3
-lresample
-lm
\
$(am__append_1)
...
...
@@ -269,8 +268,7 @@ src/switch_core.c \
src/switch_loadable_module.c
\
src/switch_mutex.c
\
src/switch_utils.c
\
src/switch_event.c
\
src/switch_resample.c
src/switch_event.c
#bindir = $(PREFIX)/bin
...
...
@@ -431,7 +429,6 @@ distclean-compile:
@AMDEP_TRUE@@am__include@
@am__quote@./$(DEPDIR)/libfreeswitch_la-switch_event.Plo@am__quote@
@AMDEP_TRUE@@am__include@
@am__quote@./$(DEPDIR)/libfreeswitch_la-switch_loadable_module.Plo@am__quote@
@AMDEP_TRUE@@am__include@
@am__quote@./$(DEPDIR)/libfreeswitch_la-switch_mutex.Plo@am__quote@
@AMDEP_TRUE@@am__include@
@am__quote@./$(DEPDIR)/libfreeswitch_la-switch_resample.Plo@am__quote@
@AMDEP_TRUE@@am__include@
@am__quote@./$(DEPDIR)/libfreeswitch_la-switch_utils.Plo@am__quote@
.c.o
:
...
...
@@ -525,13 +522,6 @@ libfreeswitch_la-switch_event.lo: src/switch_event.c
@AMDEP_TRUE@@am__fastdepCC_FALSE@
DEPDIR
=
$(DEPDIR)
$(CCDEPMODE)
$(depcomp)
@AMDEPBACKSLASH@
@am__fastdepCC_FALSE@
$(LIBTOOL)
--tag
=
CC
--mode
=
compile
$(CC)
$(DEFS)
$(DEFAULT_INCLUDES)
$(INCLUDES)
$(AM_CPPFLAGS)
$(CPPFLAGS)
$(libfreeswitch_la_CFLAGS)
$(CFLAGS)
-c
-o
libfreeswitch_la-switch_event.lo
`
test
-f
'src/switch_event.c'
||
echo
'
$(srcdir)
/'
`
src/switch_event.c
libfreeswitch_la-switch_resample.lo
:
src/switch_resample.c
@am__fastdepCC_TRUE@
if
$(LIBTOOL)
--tag
=
CC
--mode
=
compile
$(CC)
$(DEFS)
$(DEFAULT_INCLUDES)
$(INCLUDES)
$(AM_CPPFLAGS)
$(CPPFLAGS)
$(libfreeswitch_la_CFLAGS)
$(CFLAGS)
-MT
libfreeswitch_la-switch_resample.lo
-MD
-MP
-MF
"
$(DEPDIR)
/libfreeswitch_la-switch_resample.Tpo"
-c
-o
libfreeswitch_la-switch_resample.lo
`
test
-f
'src/switch_resample.c'
||
echo
'
$(srcdir)
/'
`
src/switch_resample.c
;
\
@am__fastdepCC_TRUE@
then
mv
-f
"
$(DEPDIR)
/libfreeswitch_la-switch_resample.Tpo"
"
$(DEPDIR)
/libfreeswitch_la-switch_resample.Plo"
;
else
rm
-f
"
$(DEPDIR)
/libfreeswitch_la-switch_resample.Tpo"
;
exit
1
;
fi
@AMDEP_TRUE@@am__fastdepCC_FALSE@
source
=
'src/switch_resample.c'
object
=
'libfreeswitch_la-switch_resample.lo'
libtool
=
yes
@AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@
DEPDIR
=
$(DEPDIR)
$(CCDEPMODE)
$(depcomp)
@AMDEPBACKSLASH@
@am__fastdepCC_FALSE@
$(LIBTOOL)
--tag
=
CC
--mode
=
compile
$(CC)
$(DEFS)
$(DEFAULT_INCLUDES)
$(INCLUDES)
$(AM_CPPFLAGS)
$(CPPFLAGS)
$(libfreeswitch_la_CFLAGS)
$(CFLAGS)
-c
-o
libfreeswitch_la-switch_resample.lo
`
test
-f
'src/switch_resample.c'
||
echo
'
$(srcdir)
/'
`
src/switch_resample.c
freeswitch-switch.o
:
src/switch.c
@am__fastdepCC_TRUE@
if
$(CC)
$(DEFS)
$(DEFAULT_INCLUDES)
$(INCLUDES)
$(AM_CPPFLAGS)
$(CPPFLAGS)
$(freeswitch_CFLAGS)
$(CFLAGS)
-MT
freeswitch-switch.o
-MD
-MP
-MF
"$(DEPDIR)/freeswitch-switch.Tpo"
-c
-o
freeswitch-switch.o
`test
-f
'src/switch.c'
||
echo
'$(srcdir)/'
`src/switch.c;
\
@am__fastdepCC_TRUE@
then
mv
-f
"$(DEPDIR)/freeswitch-switch.Tpo"
"$(DEPDIR)/freeswitch-switch.Po"
;
else
rm
-f
"$(DEPDIR)/freeswitch-switch.Tpo"
;
exit
1;
fi
...
...
configure
浏览文件 @
883efd4e
...
...
@@ -466,7 +466,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_subst_vars
=
'SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar
SVNVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL SVN_VERSION
LIBOBJS ISLINUX_TRUE ISLINUX_FALSE ISMAC_TRUE ISMAC_FALSE LTLIBOBJS'
ac_subst_vars
=
'SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar
CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL
LIBOBJS ISLINUX_TRUE ISLINUX_FALSE ISMAC_TRUE ISMAC_FALSE LTLIBOBJS'
ac_subst_files
=
''
# Initialize some variables set by options.
...
...
@@ -1954,52 +1954,6 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
# Checks for programs.
for
ac_prog
in
svnversion
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
"
$as_me
:
$LINENO
: checking for
$ac_word
"
>
&5
echo
$ECHO_N
"checking for
$ac_word
...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_path_SVNVERSION
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
case
$SVNVERSION
in
[
\\
/]
*
|
?:[
\\
/]
*
)
ac_cv_path_SVNVERSION
=
"
$SVNVERSION
"
# Let the user override the test with a path.
;;
*
)
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
as_dummy
=
"
${
PATH
}
:/opt/csw/bin"
for
as_dir
in
$as_dummy
do
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
$as_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
ac_cv_path_SVNVERSION
=
"
$as_dir
/
$ac_word$ac_exec_ext
"
echo
"
$as_me
:
$LINENO
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
fi
done
done
;;
esac
fi
SVNVERSION
=
$ac_cv_path_SVNVERSION
if
test
-n
"
$SVNVERSION
"
;
then
echo
"
$as_me
:
$LINENO
: result:
$SVNVERSION
"
>
&5
echo
"
${
ECHO_T
}
$SVNVERSION
"
>
&6
else
echo
"
$as_me
:
$LINENO
: result: no"
>
&5
echo
"
${
ECHO_T
}
no"
>
&6
fi
test
-n
"
$SVNVERSION
"
&&
break
done
test
-n
"
$SVNVERSION
"
||
SVNVERSION
=
"echo Missing subversion so some stuff will be borked"
ac_ext
=
c
ac_cpp
=
'$CPP $CPPFLAGS'
ac_compile
=
'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
...
...
@@ -3739,7 +3693,7 @@ ia64-*-hpux*)
;;
*
-
*
-irix6
*
)
# Find out which ABI we are using.
echo
'#line 3
742
"configure"'
>
conftest.
$ac_ext
echo
'#line 3
696
"configure"'
>
conftest.
$ac_ext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_compile
\"
"
)
>
&5
(
eval
$ac_compile
)
2>&5
ac_status
=
$?
...
...
@@ -5318,7 +5272,7 @@ fi
# Provide some information about the compiler.
echo
"
$as_me
:5
321
:"
\
echo
"
$as_me
:5
275
:"
\
"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
...
...
@@ -6416,11 +6370,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:6
419
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:6
373
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
cat
conftest.err
>
&5
echo
"
$as_me
:6
423
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:6
377
:
\$
? =
$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.
...
...
@@ -6678,11 +6632,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:66
81
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:66
35
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
cat
conftest.err
>
&5
echo
"
$as_me
:66
85
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:66
39
:
\$
? =
$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.
...
...
@@ -6740,11 +6694,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:6
743
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:6
697
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
ac_status
=
$?
cat
out/conftest.err
>
&5
echo
"
$as_me
:67
47
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:67
01
:
\$
? =
$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
...
...
@@ -8988,7 +8942,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
EOF
#line 89
91
"configure"
#line 89
45
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -9086,7 +9040,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
EOF
#line 90
89
"configure"
#line 90
43
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -11341,11 +11295,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:11
344
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:11
298
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
cat
conftest.err
>
&5
echo
"
$as_me
:113
48
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:113
02
:
\$
? =
$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.
...
...
@@ -11403,11 +11357,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:11
406
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:11
360
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
ac_status
=
$?
cat
out/conftest.err
>
&5
echo
"
$as_me
:11
410
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:11
364
:
\$
? =
$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
...
...
@@ -12780,7 +12734,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
EOF
#line 127
83
"configure"
#line 127
37
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -12878,7 +12832,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
EOF
#line 128
81
"configure"
#line 128
35
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -13763,11 +13717,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:137
66
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:137
20
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
cat
conftest.err
>
&5
echo
"
$as_me
:137
70
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:137
24
:
\$
? =
$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.
...
...
@@ -13825,11 +13779,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:13
828
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:13
782
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
ac_status
=
$?
cat
out/conftest.err
>
&5
echo
"
$as_me
:13
832
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:13
786
:
\$
? =
$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
...
...
@@ -15955,11 +15909,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:159
58
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:159
12
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
cat
conftest.err
>
&5
echo
"
$as_me
:159
62
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:159
16
:
\$
? =
$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.
...
...
@@ -16217,11 +16171,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:16
220
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:16
174
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>conftest.err
)
ac_status
=
$?
cat
conftest.err
>
&5
echo
"
$as_me
:16
224
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:16
178
:
\$
? =
$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.
...
...
@@ -16279,11 +16233,11 @@ else
-e
's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t'
\
-e
's: [^ ]*conftest\.: $lt_compiler_flag&:; t'
\
-e
's:$: $lt_compiler_flag:'
`
(
eval echo
"
\"\$
as_me:162
82
:
$lt_compile
\"
"
>
&5
)
(
eval echo
"
\"\$
as_me:162
36
:
$lt_compile
\"
"
>
&5
)
(
eval
"
$lt_compile
"
2>out/conftest.err
)
ac_status
=
$?
cat
out/conftest.err
>
&5
echo
"
$as_me
:162
86
:
\$
? =
$ac_status
"
>
&5
echo
"
$as_me
:162
40
:
\$
? =
$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
...
...
@@ -18527,7 +18481,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
530
"configure"
#line 18
484
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -18625,7 +18579,7 @@ else
lt_dlunknown
=
0
;
lt_dlno_uscore
=
1
;
lt_dlneed_uscore
=
2
lt_status
=
$lt_dlunknown
cat
>
conftest.
$ac_ext
<<
EOF
#line 18
628
"configure"
#line 18
582
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
...
...
@@ -19755,23 +19709,6 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
test
-z
"
$INSTALL_DATA
"
&&
INSTALL_DATA
=
'${INSTALL} -m 644'
# SVN Revision number, needed for FREESWITCH_VERSION
if
test
-n
"
$SVNVERSION
"
;
then
cat
>>
confdefs.h
<<
_ACEOF
#define SVN_VERSION "`
${
SVNVERSION
}
. -n`"
_ACEOF
else
cat
>>
confdefs.h
<<
_ACEOF
#define SVN_VERSION "UNKNOWN"
_ACEOF
fi
# Checks for header files.
...
...
@@ -22136,7 +22073,6 @@ s,@am__leading_dot@,$am__leading_dot,;t t
s,@AMTAR@,
$AMTAR
,;t t
s,@am__tar@,
$am__tar
,;t t
s,@am__untar@,
$am__untar
,;t t
s,@SVNVERSION@,
$SVNVERSION
,;t t
s,@CC@,
$CC
,;t t
s,@CFLAGS@,
$CFLAGS
,;t t
s,@LDFLAGS@,
$LDFLAGS
,;t t
...
...
@@ -22180,7 +22116,6 @@ s,@F77@,$F77,;t t
s,@FFLAGS@,
$FFLAGS
,;t t
s,@ac_ct_F77@,
$ac_ct_F77
,;t t
s,@LIBTOOL@,
$LIBTOOL
,;t t
s,@SVN_VERSION@,
$SVN_VERSION
,;t t
s,@LIBOBJS@,
$LIBOBJS
,;t t
s,@ISLINUX_TRUE@,
$ISLINUX_TRUE
,;t t
s,@ISLINUX_FALSE@,
$ISLINUX_FALSE
,;t t
...
...
configure.in
浏览文件 @
883efd4e
...
...
@@ -10,21 +10,11 @@ AC_CONFIG_HEADER([src/include/config.h])
AC_PREFIX_DEFAULT(/usr/local/freeswitch)
# Checks for programs.
AC_PATH_PROGS(SVNVERSION, svnversion, [echo Missing subversion so some stuff will be borked],${PATH}:/opt/csw/bin)
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
AC_PROG_INSTALL
# SVN Revision number, needed for FREESWITCH_VERSION
if test -n "$SVNVERSION" ; then
AC_DEFINE_UNQUOTED([SVN_VERSION],"`${SVNVERSION} . -n`",[Which Subversion revision are we building here ?] )
AC_SUBST([SVN_VERSION])
else
AC_DEFINE_UNQUOTED([SVN_VERSION],"UNKNOWN",[Unknown Subversion because it's not on this machine.] )
AC_SUBST([SVN_VERSION])
fi
# Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
...
...
src/include/config.h.in
浏览文件 @
883efd4e
...
...
@@ -82,9 +82,6 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Unknown Subversion because it's not on this machine. */
#undef SVN_VERSION
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
...
...
src/switch.c
浏览文件 @
883efd4e
...
...
@@ -57,7 +57,7 @@ int main(int argc, char *argv[]) {
switch_event_fire
(
&
event
);
}
switch_console_printf
(
SWITCH_CHANNEL_CONSOLE
,
"freeswitch Version %s Started
\n\n
"
,
SWITCH_
GLOBAL
_VERSION
);
switch_console_printf
(
SWITCH_CHANNEL_CONSOLE
,
"freeswitch Version %s Started
\n\n
"
,
SWITCH_
SVN
_VERSION
);
/* wait for console input */
switch_console_loop
();
...
...
src/switch_resample.c
浏览文件 @
883efd4e
...
...
@@ -166,22 +166,6 @@ SWITCH_DECLARE(int) switch_short_to_float(short *s, float *f, int len)
}
SWITCH_DECLARE
(
char
*
)
switch_cut_path
(
char
*
in
)
{
char
*
p
,
*
ret
=
in
;
char
delims
[]
=
"/
\\
"
;
char
*
i
;
for
(
i
=
delims
;
*
i
;
i
++
)
{
p
=
in
;
while
((
p
=
strchr
(
p
,
*
i
)))
{
ret
=
++
p
;
}
}
return
ret
;
}
SWITCH_DECLARE
(
void
)
switch_swap_linear
(
int16_t
*
buf
,
int
len
)
{
int
i
;
...
...
src/switch_utils.c
浏览文件 @
883efd4e
...
...
@@ -67,6 +67,21 @@ SWITCH_DECLARE(unsigned int) switch_separate_string(char *buf, char delim, char
return
argc
;
}
SWITCH_DECLARE
(
char
*
)
switch_cut_path
(
char
*
in
)
{
char
*
p
,
*
ret
=
in
;
char
delims
[]
=
"/
\\
"
;
char
*
i
;
for
(
i
=
delims
;
*
i
;
i
++
)
{
p
=
in
;
while
((
p
=
strchr
(
p
,
*
i
)))
{
ret
=
++
p
;
}
}
return
ret
;
}
SWITCH_DECLARE
(
switch_status
)
switch_socket_create_pollfd
(
switch_pollfd_t
*
poll
,
switch_socket_t
*
sock
,
unsigned
int
flags
,
switch_memory_pool
*
pool
)
{
switch_pollset_t
*
pollset
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论