summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2003-01-17 15:14:44 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2003-01-17 15:14:44 +0000
commitd70bb73c2967b0ad76f8ba827dc81aedcc0ebc4a (patch)
tree566be17af78773f9b346cb16a31c441238177895
parent6b785348c45a7c24b50ebd0a209bbd94d46db5f4 (diff)
downloadgstreamer-plugins-bad-d70bb73c2967b0ad76f8ba827dc81aedcc0ebc4a.tar.gz
check for vorbis final
Original commit message from CVS: check for vorbis final
-rw-r--r--m4/vorbis.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/m4/vorbis.m4 b/m4/vorbis.m4
index d311a410a..97ece2d99 100644
--- a/m4/vorbis.m4
+++ b/m4/vorbis.m4
@@ -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"])