@ -24016,9 +24016,9 @@ if test "x${PBX_OGG}" != "x1" -a "${USE_OGG}" != "no"; then
ast_ext_lib_check_save_CFLAGS="${CFLAGS}"
ast_ext_lib_check_save_CFLAGS="${CFLAGS}"
CFLAGS="${CFLAGS} "
CFLAGS="${CFLAGS} "
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg_sync _init in -logg" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg_stream _init in -logg" >&5
$as_echo_n "checking for ogg_sync _init in -logg... " >&6; }
$as_echo_n "checking for ogg_stream _init in -logg... " >&6; }
if ${ac_cv_lib_ogg_ogg_sync _init+:} false; then :
if ${ac_cv_lib_ogg_ogg_stream _init+:} false; then :
$as_echo_n "(cached) " >&6
$as_echo_n "(cached) " >&6
else
else
ac_check_lib_save_LIBS=$LIBS
ac_check_lib_save_LIBS=$LIBS
@ -24032,27 +24032,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
#ifdef __cplusplus
#ifdef __cplusplus
extern "C"
extern "C"
#endif
#endif
char ogg_sync _init ();
char ogg_stream _init ();
int
int
main ()
main ()
{
{
return ogg_sync _init ();
return ogg_stream _init ();
;
;
return 0;
return 0;
}
}
_ACEOF
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_ogg_ogg_sync _init=yes
ac_cv_lib_ogg_ogg_stream _init=yes
else
else
ac_cv_lib_ogg_ogg_sync _init=no
ac_cv_lib_ogg_ogg_stream _init=no
fi
fi
rm -f core conftest.err conftest.$ac_objext \
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
LIBS=$ac_check_lib_save_LIBS
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ogg_ogg_sync _init" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ogg_ogg_stream _init" >&5
$as_echo "$ac_cv_lib_ogg_ogg_sync _init" >&6; }
$as_echo "$ac_cv_lib_ogg_ogg_stream _init" >&6; }
if test "x$ac_cv_lib_ogg_ogg_sync _init" = xyes; then :
if test "x$ac_cv_lib_ogg_ogg_stream _init" = xyes; then :
AST_OGG_FOUND=yes
AST_OGG_FOUND=yes
else
else
AST_OGG_FOUND=no
AST_OGG_FOUND=no
@ -24070,8 +24070,18 @@ fi
fi
fi
OGG_INCLUDE="${OGG_INCLUDE} "
OGG_INCLUDE="${OGG_INCLUDE} "
# no header, assume found
# check for the header
OGG_HEADER_FOUND="1"
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
if test "x${OGG_HEADER_FOUND}" = "x0" ; then
OGG_LIB=""
OGG_LIB=""