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

Monty xiphmont at xiph.org
Wed Dec 11 14:28:52 PST 2002



xiphmont    02/12/11 17:28:52

  Modified:    .        Tag: libogg2-zerocopy configure.in
  Log:
  Add beginning of thread detection to build system

Revision  Changes    Path
No                   revision

<p>No                   revision

<p>1.24.2.1  +5 -3      ogg/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/ogg/configure.in,v
retrieving revision 1.24
retrieving revision 1.24.2.1
diff -u -r1.24 -r1.24.2.1
--- configure.in	18 Sep 2002 04:42:08 -0000	1.24
+++ configure.in	11 Dec 2002 22:28:52 -0000	1.24.2.1
@@ -2,13 +2,13 @@
 
 AC_INIT(src/framing.c)
 
-AM_INIT_AUTOMAKE(libogg,1.0)
+AM_INIT_AUTOMAKE(libogg,2.0)
 
 dnl Library versioning
 
-LIB_CURRENT=4
+LIB_CURRENT=5
 LIB_REVISION=0
-LIB_AGE=4
+LIB_AGE=0
 AC_SUBST(LIB_CURRENT)
 AC_SUBST(LIB_REVISION)
 AC_SUBST(LIB_AGE)
@@ -70,6 +70,8 @@
 dnl Checks for programs.
 
 dnl Checks for libraries.
+AC_CHECK_LIB(m, cos, LIBS="$LIBS -lm")
+AC_CHECK_LIB(pthread, pthread_mutex_lock, CFLAGS="$CFLAGS -DUSE_POSIX_THREADS" LIBS="$LIBS -lpthread")
 
 dnl Checks for header files.
 AC_HEADER_STDC

<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