Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 6134
Collapse All | Expand All

(-)libvorbis-1.0/vorbis.m4 (-3 / +4 lines)
Lines 54-59 Link Here
54
#include <stdlib.h>
54
#include <stdlib.h>
55
#include <string.h>
55
#include <string.h>
56
#include <vorbis/codec.h>
56
#include <vorbis/codec.h>
57
#include <vorbis/vorbisenc.h>
57
58
58
int main ()
59
int main ()
59
{
60
{
Lines 62-68 Link Here
62
    vorbis_info		vi;
63
    vorbis_info		vi;
63
64
64
    vorbis_info_init (&vi);
65
    vorbis_info_init (&vi);
65
    vorbis_encode_init (&vi, 2, 44100, -1, 128, -1);
66
    vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1);
66
    vorbis_analysis_init (&vd, &vi);
67
    vorbis_analysis_init (&vd, &vi);
67
    vorbis_block_init (&vd, &vb);
68
    vorbis_block_init (&vd, &vb);
68
    /* this function was added in 1.0rc3, so this is what we're testing for */
69
    /* this function was added in 1.0rc3, so this is what we're testing for */
Lines 86-93 Link Here
86
       :
87
       :
87
     else
88
     else
88
       echo "*** Could not run Vorbis test program, checking why..."
89
       echo "*** Could not run Vorbis test program, checking why..."
89
       CFLAGS="$CFLAGS $VORBIS_CFLAGS"
90
       CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS"
90
       LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS"
91
       LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS"
91
       AC_TRY_LINK([
92
       AC_TRY_LINK([
92
#include <stdio.h>
93
#include <stdio.h>
93
#include <vorbis/codec.h>
94
#include <vorbis/codec.h>

Return to bug 6134