From b76982aea7556a8a1efafe228369b81cf1095b38 Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Sun, 6 Jul 2008 23:52:35 +0100 Subject: Build fix: pthreads.m4 autoconf already adds the "int main() { ...; return 0; }" statements itself, and so adding them twice chokes stricter compilers. --- m4/pthreads.m4 | 3 --- 1 file changed, 3 deletions(-) (limited to 'm4') diff --git a/m4/pthreads.m4 b/m4/pthreads.m4 index 8438cde0b..d1d1c0a62 100644 --- a/m4/pthreads.m4 +++ b/m4/pthreads.m4 @@ -86,11 +86,8 @@ AC_DEFUN([CC_PTHREAD_RECURSIVE_MUTEX], [ [AC_LANG_PROGRAM([ #include ], [ -int main() { pthread_mutexattr_t attr; pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); - return 0; -} ]) ], [cc_cv_pthread_recursive_mutex=yes], -- cgit v1.2.3