From 1d9348c67fdc126bb7164e285b8089e0827b1913 Mon Sep 17 00:00:00 2001 From: Karl Heyes Date: Wed, 26 Mar 2003 02:24:00 +0000 Subject: [PATCH] We really need to include the header for the test to be reliable svn path=/trunk/m4/; revision=4537 --- m4/acx_pthread.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/acx_pthread.m4 b/m4/acx_pthread.m4 index 8961d446..5feab5ed 100644 --- a/m4/acx_pthread.m4 +++ b/m4/acx_pthread.m4 @@ -164,7 +164,7 @@ if test "x$acx_pthread_ok" = xyes; then 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 ]) LIBS="$save_LIBS" CFLAGS="$save_CFLAGS"