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

Ralph Giles giles at xiph.org
Tue Jun 10 04:11:09 PDT 2003



giles       03/06/10 07:11:09

  Modified:    .        configure.in
  Log:
  Add a configure check for the ogg library. We use the standard
  XIPH_PATH_OGG macro, combined with a check for oggpackB_read() to verify
  we have a sufficiently new version.

Revision  Changes    Path
1.7       +10 -0     theora/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/theora/configure.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- configure.in	10 Jun 2003 10:15:57 -0000	1.6
+++ configure.in	10 Jun 2003 11:11:09 -0000	1.7
@@ -77,6 +77,16 @@
 dnl Check for library functions
 dnl --------------------------------------------------
 
+XIPH_PATH_OGG(, AC_MSG_ERROR([
+    libogg is required to build this package!
+    please see http://www.xiph.org/ for how to
+    obtain a copy.
+]))
+LIBS="$LIBS $OGG_LIBS"
+AC_CHECK_FUNC(oggpackB_read, , [
+  AC_MSG_ERROR([newer libogg version (>1.0) required])
+])
+
 AM_PATH_SDL(,[
         HAVE_SDL=yes
         SDL_LIBS=`$SDL_CONFIG --static-libs`

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