[xiph-cvs] cvs commit: vorbis vorbis.m4

Jack Moffitt jack at xiph.org
Sat Nov 4 01:01:46 PST 2000



jack        00/11/04 01:01:46

  Modified:    .        Tag: branch_beta3 vorbis.m4
  Log:
  added VORBISFILE_LIBS and VORBISENC_LIBS

Revision  Changes    Path
No                   revision

No                   revision

1.1.2.5   +8 -2      vorbis/Attic/vorbis.m4

Index: vorbis.m4
===================================================================
RCS file: /usr/local/cvsroot/vorbis/Attic/vorbis.m4,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -r1.1.2.4 -r1.1.2.5
--- vorbis.m4	2000/11/01 02:06:33	1.1.2.4
+++ vorbis.m4	2000/11/04 09:01:45	1.1.2.5
@@ -15,10 +15,12 @@
   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 @@
      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
 ])

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list