[xiph-cvs] cvs commit: vorbis configure.in

Jack Moffitt jack at xiph.org
Sat Oct 21 20:12:45 PDT 2000



jack        00/10/21 20:12:44

  Modified:    .        Tag: branch_beta3 configure.in
  Log:
  vorbis now uses the ogg.m4 for ogg detection

Revision  Changes    Path
No                   revision

No                   revision

1.24.2.3  +1 -11     vorbis/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/vorbis/configure.in,v
retrieving revision 1.24.2.2
retrieving revision 1.24.2.3
diff -u -r1.24.2.2 -r1.24.2.3
--- configure.in	2000/10/21 18:32:02	1.24.2.2
+++ configure.in	2000/10/22 03:12:44	1.24.2.3
@@ -34,12 +34,6 @@
 
 AM_PROG_LIBTOOL
 
-dnl --------------------------------------------------  
-dnl Additional arguments
-dnl --------------------------------------------------  
-
-AC_ARG_WITH(ogg, [  --with-ogg=DIR          Set where the Ogg library is located]) 
-
 dnl --------------------------------------------------
 dnl Set build flags based on environment
 dnl --------------------------------------------------
@@ -149,11 +143,7 @@
 AC_CHECK_LIB(m, cos, LIBS="-lm", LIBS="")
 AC_CHECK_LIB(pthread, pthread_create, pthread_lib="-lpthread", :)
 
-dnl Check for libogg
-if test -n $with_ogg; then
-	CFLAGS="$CFLAGS -I$with_ogg/include -L$with_ogg/lib"
-fi 
-AC_CHECK_LIB(ogg, oggpack_read, LIBS="$LIBS -logg", AC_MSG_ERROR([You must have libogg to compile vorbis!!!]))
+AM_PATH_OGG(1.0.0, have_ogg=yes, have_ogg=no)
 
 dnl --------------------------------------------------
 dnl Check for library functions

--- >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