diff options
author | Chris Rankin <rankincj@yahoo.com> | 2008-07-06 23:52:35 +0100 |
---|---|---|
committer | Chris Rankin <rankincj@yahoo.com> | 2008-07-06 23:52:35 +0100 |
commit | b76982aea7556a8a1efafe228369b81cf1095b38 (patch) | |
tree | a238a68b506f916a117c25c34f65d5b0a9c4ffc0 | |
parent | 8611a5dd22f671065123bbe989c1ad7aa0eb7190 (diff) | |
download | xine-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.m4 | 3 |
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], |