summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rankin <rankincj@yahoo.com>2008-07-06 23:52:35 +0100
committerChris Rankin <rankincj@yahoo.com>2008-07-06 23:52:35 +0100
commitb76982aea7556a8a1efafe228369b81cf1095b38 (patch)
treea238a68b506f916a117c25c34f65d5b0a9c4ffc0
parent8611a5dd22f671065123bbe989c1ad7aa0eb7190 (diff)
downloadxine-lib-b76982aea7556a8a1efafe228369b81cf1095b38.tar.gz
xine-lib-b76982aea7556a8a1efafe228369b81cf1095b38.tar.bz2
Build fix: pthreads.m4
autoconf already adds the "int main() { ...; return 0; }" statements itself, and so adding them twice chokes stricter compilers.
-rw-r--r--m4/pthreads.m43
1 files changed, 0 insertions, 3 deletions
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 <pthread.h>
], [
-int main() {
pthread_mutexattr_t attr;
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
- return 0;
-}
])
],
[cc_cv_pthread_recursive_mutex=yes],