diff options
author | Jack Moffitt <jack@xiph.org> | 2000-11-04 09:01:45 +0000 |
---|---|---|
committer | Jack Moffitt <jack@xiph.org> | 2000-11-04 09:01:45 +0000 |
commit | c1a5991a5d19aef8f951773f217c562513a160d7 (patch) | |
tree | ce48a2bc3b8b7ccb3a944502af857fe931604b99 | |
parent | d442ec97d3136be22e5c6e282fb512a8c8dda9d5 (diff) | |
download | libvorbis-git-c1a5991a5d19aef8f951773f217c562513a160d7.tar.gz |
added VORBISFILE_LIBS and VORBISENC_LIBS
svn path=/branches/branch_beta3/vorbis/; revision=981
-rw-r--r-- | vorbis.m4 | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 ]) |