/[svn]/linuxsampler/trunk/m4/nptl_bug.m4
ViewVC logotype

Diff of /linuxsampler/trunk/m4/nptl_bug.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1454 by schoenebeck, Fri Oct 19 17:52:15 2007 UTC revision 1472 by schoenebeck, Mon Nov 5 15:19:42 2007 UTC
# Line 7  dnl    ACX_NPTL_GLIBC_BUG([ACTION-IF-FOU Line 7  dnl    ACX_NPTL_GLIBC_BUG([ACTION-IF-FOU
7  dnl  dnl
8  dnl Check for NPTL glibc bug which caused crashs on Gentoo systems, see  dnl Check for NPTL glibc bug which caused crashs on Gentoo systems, see
9  dnl Gentoo bug report #194076 for details. This test is ignored on cross-  dnl Gentoo bug report #194076 for details. This test is ignored on cross-
10  dnl compilations.  dnl compilations. On Windows systems this test always succeeds.
11  dnl  dnl
12  dnl Note: this test requires LIBS, CFLAGS and CC already been set, i.e. by  dnl Note: this test requires LIBS, CFLAGS and CC already been set, i.e. by
13  dnl using ACX_PTHREAD before calling this macro.  dnl using ACX_PTHREAD before calling this macro.
# Line 23  AC_DEFUN([ACX_NPTL_GLIBC_BUG], Line 23  AC_DEFUN([ACX_NPTL_GLIBC_BUG],
23    
24    AC_TRY_RUN([    AC_TRY_RUN([
25    
 #include <stdio.h>  
26  #include <stdlib.h>  #include <stdlib.h>
27    
28    #if WIN32
29    
30    int main() {
31        exit(0);
32    }
33    
34    #else /* POSIX system */
35    
36    #include <stdio.h>
37  #include <pthread.h>  #include <pthread.h>
38  #include <unistd.h>  #include <unistd.h>
39    
# Line 88  int main() { Line 97  int main() {
97    
98      exit(0);      exit(0);
99  }  }
100    #endif /* WIN32 */
101    
102    ],[    ],[
103      AC_MSG_RESULT(no)      AC_MSG_RESULT(no)

Legend:
Removed from v.1454  
changed lines
  Added in v.1472

  ViewVC Help
Powered by ViewVC