Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
297cf20c
Commit
297cf20c
authored
7 years ago
by
Joshua Colp
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "BuildSystem: Check for header file of OGG."
parents
5843a197
e61b50b6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configure
+22
-12
22 additions, 12 deletions
configure
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
formats/format_ogg_vorbis.c
+1
-0
1 addition, 0 deletions
formats/format_ogg_vorbis.c
with
24 additions
and
13 deletions
configure
+
22
−
12
View file @
297cf20c
...
...
@@ -24055,9 +24055,9 @@ if test "x${PBX_OGG}" != "x1" -a "${USE_OGG}" != "no"; then
ast_ext_lib_check_save_CFLAGS="${CFLAGS}"
CFLAGS="${CFLAGS} "
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg_s
ync
_init in -logg" >&5
$as_echo_n "checking for ogg_s
ync
_init in -logg... " >&6; }
if ${ac_cv_lib_ogg_ogg_s
ync
_init+:} false; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg_s
tream
_init in -logg" >&5
$as_echo_n "checking for ogg_s
tream
_init in -logg... " >&6; }
if ${ac_cv_lib_ogg_ogg_s
tream
_init+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
...
...
@@ -24071,27 +24071,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
#ifdef __cplusplus
extern "C"
#endif
char ogg_s
ync
_init ();
char ogg_s
tream
_init ();
int
main ()
{
return ogg_s
ync
_init ();
return ogg_s
tream
_init ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_ogg_ogg_s
ync
_init=yes
ac_cv_lib_ogg_ogg_s
tream
_init=yes
else
ac_cv_lib_ogg_ogg_s
ync
_init=no
ac_cv_lib_ogg_ogg_s
tream
_init=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ogg_ogg_s
ync
_init" >&5
$as_echo "$ac_cv_lib_ogg_ogg_s
ync
_init" >&6; }
if test "x$ac_cv_lib_ogg_ogg_s
ync
_init" = xyes; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ogg_ogg_s
tream
_init" >&5
$as_echo "$ac_cv_lib_ogg_ogg_s
tream
_init" >&6; }
if test "x$ac_cv_lib_ogg_ogg_s
tream
_init" = xyes; then :
AST_OGG_FOUND=yes
else
AST_OGG_FOUND=no
...
...
@@ -24109,8 +24109,18 @@ fi
fi
OGG_INCLUDE="${OGG_INCLUDE} "
# no header, assume found
OGG_HEADER_FOUND="1"
# check for the header
ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}"
CPPFLAGS="${CPPFLAGS} ${OGG_INCLUDE}"
ac_fn_c_check_header_mongrel "$LINENO" "ogg/ogg.h" "ac_cv_header_ogg_ogg_h" "$ac_includes_default"
if test "x$ac_cv_header_ogg_ogg_h" = xyes; then :
OGG_HEADER_FOUND=1
else
OGG_HEADER_FOUND=0
fi
CPPFLAGS="${ast_ext_lib_check_saved_CPPFLAGS}"
if test "x${OGG_HEADER_FOUND}" = "x0" ; then
OGG_LIB=""
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
1
−
1
View file @
297cf20c
...
...
@@ -2202,7 +2202,7 @@ AST_C_DECLARE_CHECK([UNBOUND_CONST_PARAMS], [UNBOUND_VERSION_MAJOR], [unbound.h]
AST_EXT_LIB_CHECK([UNIXODBC], [odbc], [SQLConnect], [sql.h], [])
AST_EXT_LIB_CHECK([OGG], [ogg], [ogg_s
ync
_init], [])
AST_EXT_LIB_CHECK([OGG], [ogg], [ogg_s
tream
_init], [
ogg/ogg.h
])
# Non-glibc platforms require libexecinfo for backtrace support
AST_EXT_LIB_CHECK([BKTR], [execinfo], [backtrace], [execinfo.h])
...
...
This diff is collapsed.
Click to expand it.
formats/format_ogg_vorbis.c
+
1
−
0
View file @
297cf20c
...
...
@@ -33,6 +33,7 @@
#include
"asterisk.h"
#include
<ogg/ogg.h>
#include
<vorbis/codec.h>
#include
<vorbis/vorbisenc.h>
#include
<vorbis/vorbisfile.h>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment