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

Karl Heyes karl at xiph.org
Tue Mar 25 18:24:01 PST 2003



karl        03/03/25 21:24:01

  Modified:    m4       acx_pthread.m4
               m4       acx_pthread.m4
  Log:
  We really need to include the header for the test to be reliable

Revision  Changes    Path
1.3       +1 -1      ices/m4/acx_pthread.m4

Index: acx_pthread.m4
===================================================================
RCS file: /usr/local/cvsroot/ices/m4/acx_pthread.m4,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- acx_pthread.m4	14 Mar 2003 00:45:49 -0000	1.2
+++ acx_pthread.m4	26 Mar 2003 02:24:00 -0000	1.3
@@ -164,7 +164,7 @@
         if test "x$flag" != xno; then
                 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
         fi
-        AC_CHECK_TYPES(pthread_rwlock_t)
+        AC_CHECK_TYPES(pthread_rwlock_t,,,[#include <pthread.h>])
 
         LIBS="$save_LIBS"
         CFLAGS="$save_CFLAGS"

<p><p>1.4       +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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- acx_pthread.m4	14 Mar 2003 00:45:49 -0000	1.3
+++ acx_pthread.m4	26 Mar 2003 02:24:00 -0000	1.4
@@ -164,7 +164,7 @@
         if test "x$flag" != xno; then
                 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
         fi
-        AC_CHECK_TYPES(pthread_rwlock_t)
+        AC_CHECK_TYPES(pthread_rwlock_t,,,[#include <pthread.h>])
 
         LIBS="$save_LIBS"
         CFLAGS="$save_CFLAGS"

<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