summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-09-19 15:19:51 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-09-19 15:19:51 +0000
commitca723b1de2aa0ccad634441c411ffe582a02659e (patch)
tree403a8a633968dd9b2ab12c9ec71a9d1de52ee19d /m4
parent82145392f6754a099ad7e2f0699c7ab0eeeb3a6c (diff)
update to 1.0 macro
Original commit message from CVS: update to 1.0 macro
Diffstat (limited to 'm4')
-rw-r--r--m4/vorbis.m47
1 files changed, 3 insertions, 4 deletions
diff --git a/m4/vorbis.m4 b/m4/vorbis.m4
index 1b3179c3c..98fa5d9d2 100644
--- a/m4/vorbis.m4
+++ b/m4/vorbis.m4
@@ -3,10 +3,10 @@
# Shamelessly stolen from Owen Taylor and Manish Singh
# thomasvs added check for vorbis_bitrate_addblock which is new in rc3
-dnl AM_PATH_VORBIS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+dnl XIPH_PATH_VORBIS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl Test for libvorbis, and define VORBIS_CFLAGS and VORBIS_LIBS
dnl
-AC_DEFUN(AM_PATH_VORBIS,
+AC_DEFUN(XIPH_PATH_VORBIS,
[dnl
dnl Get the cflags and libraries
dnl
@@ -54,7 +54,6 @@ dnl
#include <stdlib.h>
#include <string.h>
#include <vorbis/codec.h>
-#include <vorbis/vorbisenc.h>
int main ()
{
@@ -63,7 +62,7 @@ int main ()
vorbis_info vi;
vorbis_info_init (&vi);
- vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1);
+ vorbis_encode_init (&vi, 2, 44100, -1, 128, -1);
vorbis_analysis_init (&vd, &vi);
vorbis_block_init (&vd, &vb);
/* this function was added in 1.0rc3, so this is what we're testing for */