[xiph-cvs] cvs commit: libshout/m4 acx_pthread.m4

Karl Heyes karl at xiph.org
Wed Mar 12 19:52:02 PST 2003



karl        03/03/12 22:52:02

  Modified:    m4       acx_pthread.m4
  Log:
  fix for certain versions of OS X which need thread options for finding
  pthread_rwlock_t

Revision  Changes    Path
1.2       +1 -1      libshout/m4/acx_pthread.m4

Index: acx_pthread.m4
===================================================================
RCS file: /usr/local/cvsroot/libshout/m4/acx_pthread.m4,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- acx_pthread.m4	7 Mar 2003 23:57:43 -0000	1.1
+++ acx_pthread.m4	13 Mar 2003 03:52:02 -0000	1.2
@@ -108,7 +108,7 @@
         # functions on Solaris that doesn't have a non-functional libc stub.
         # We try pthread_create on general principles.
         AC_TRY_LINK([#include <pthread.h>],
-                    [pthread_t th; pthread_join(th, 0);
+                    [pthread_t th; pthread_rwlock_t rw; pthread_join(th, 0);
                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
                      pthread_create(0,0,0,0); pthread_cleanup_pop(0); ],
                     [acx_pthread_ok=yes])

<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