summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Moffitt <jack@xiph.org>2000-11-04 09:01:45 +0000
committerJack Moffitt <jack@xiph.org>2000-11-04 09:01:45 +0000
commitc1a5991a5d19aef8f951773f217c562513a160d7 (patch)
treece48a2bc3b8b7ccb3a944502af857fe931604b99
parentd442ec97d3136be22e5c6e282fb512a8c8dda9d5 (diff)
downloadlibvorbis-git-c1a5991a5d19aef8f951773f217c562513a160d7.tar.gz
added VORBISFILE_LIBS and VORBISENC_LIBS
svn path=/branches/branch_beta3/vorbis/; revision=981
-rw-r--r--vorbis.m410
1 files changed, 8 insertions, 2 deletions
diff --git a/vorbis.m4 b/vorbis.m4
index 55372d96..0cc4c3c2 100644
--- a/vorbis.m4
+++ b/vorbis.m4
@@ -15,10 +15,12 @@ AC_ARG_ENABLE(vorbistest, [ --disable-vorbistest Do not try to compile an
if test x$vorbis_prefix != x ; then
vorbis_args="$vorbis_args --prefix=$vorbis_prefix"
VORBIS_CFLAGS="-I$vorbis_prefix/include"
- VORBIS_LIBS="-L$vorbis_prefix/lib"
+ VORBIS_LIBDIR="-L$vorbis_prefix/lib"
fi
- VORBIS_LIBS="$VORBIS_LIBS -lvorbisfile -lvorbis -lm"
+ VORBIS_LIBS="$VORBIS_LIBDIR -lvorbis -lm"
+ VORBISFILE_LIBS="-lvorbisfile"
+ VORBISENC_LIBS="-lvorbisenc"
AC_MSG_CHECKING(for Vorbis)
no_vorbis=""
@@ -82,9 +84,13 @@ int main ()
fi
VORBIS_CFLAGS=""
VORBIS_LIBS=""
+ VORBISFILE_LIBS=""
+ VORBISENC_LIBS=""
ifelse([$2], , :, [$2])
fi
AC_SUBST(VORBIS_CFLAGS)
AC_SUBST(VORBIS_LIBS)
+ AC_SUBST(VORBISFILE_LIBS)
+ AC_SUBST(VORBISENC_LIBS)
rm -f conf.vorbistest
])