Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / tremor-tools / patches / patch-ae
blob16dc9057a45aa8d6dc624c1346a6fb6f96bea83b
1 $NetBSD$
3 --- aclocal.m4.orig     Fri Jul 19 15:18:51 2002
4 +++ aclocal.m4  Sat Sep 14 18:28:40 2002
5 @@ -139,6 +139,7 @@
6    fi
7  
8    VORBISFILE_LIBS="$VORBIS_LIBS -lvorbisfile"
9 +  IVORBISFILE_LIBS="$VORBIS_LIBS -lvorbisidec"
10    VORBISENC_LIBS="$VORBIS_LIBS -lvorbisenc"
11    VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
13 @@ -194,7 +195,7 @@
14         LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS"
15         AC_TRY_LINK([
16  #include <stdio.h>
17 -#include <vorbis/codec.h>
18 +#include <tremor/ivorbiscodec.h>
19  ],     [ return 0; ],
20         [ echo "*** The test program compiled, but did not run. This usually means"
21         echo "*** that the run-time linker is not finding Vorbis or finding the wrong"
22 @@ -214,12 +215,14 @@
23       VORBIS_CFLAGS=""
24       VORBIS_LIBS=""
25       VORBISFILE_LIBS=""
26 +     IVORBISFILE_LIBS=""
27       VORBISENC_LIBS=""
28       ifelse([$2], , :, [$2])
29    fi
30    AC_SUBST(VORBIS_CFLAGS)
31    AC_SUBST(VORBIS_LIBS)
32    AC_SUBST(VORBISFILE_LIBS)
33 +  AC_SUBST(IVORBISFILE_LIBS)
34    AC_SUBST(VORBISENC_LIBS)
35    rm -f conf.vorbistest
36  ])