mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
check for vorbis final
Original commit message from CVS: check for vorbis final
This commit is contained in:
parent
d92e9c7ae5
commit
c109614284
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
# Jack Moffitt <jack@icecast.org> 10-21-2000
|
||||
# Shamelessly stolen from Owen Taylor and Manish Singh
|
||||
# thomasvs added check for vorbis_bitrate_addblock which is new in rc3
|
||||
# thomasvs added check for OV_ECTL_RATEMANAGE_SET which is new in 1.0 final
|
||||
|
||||
dnl XIPH_PATH_VORBIS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
|
||||
dnl Test for libvorbis, and define VORBIS_CFLAGS and VORBIS_LIBS
|
||||
|
@ -69,8 +70,13 @@ int main ()
|
|||
/* this function was added in 1.0rc3, so this is what we're testing for */
|
||||
vorbis_bitrate_addblock (&vb);
|
||||
|
||||
/* this define was added in 1.0 final */
|
||||
#ifdef OV_ECTL_RATEMANAGE_SET
|
||||
system("touch conf.vorbistest");
|
||||
return 0;
|
||||
#else
|
||||
return -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
],, no_vorbis=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
|
|
Loading…
Reference in a new issue