Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 20 | Rev 126 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
116 holmgren 1
--- a/src/configure
2
+++ b/src/configure
3
@@ -90901,6 +90901,9 @@ cat confdefs.h >>conftest.$ac_ext
4
 cat >>conftest.$ac_ext <<_ACEOF
5
 /* end confdefs.h.  */
6
 #include <pthread.h>
7
+#if defined(__stub_pthread_atfork) || defined(__stub___pthread_atfork)
8
+#error pthread_atfork is just a stub
9
+#endif
10
         void foo(void) { pthread_atfork(0,0,0); }
11
 
12
 int
13
--- a/src/configure.in
14
+++ b/src/configure.in
15
@@ -3929,6 +3929,9 @@ pthread_t gazonk;
16
     AC_MSG_CHECKING(for pthread_atfork)
17
     AC_CACHE_VAL(pike_cv_have_pthread_atfork,[
18
       AC_TRY_LINK([#include <pthread.h>
19
+#if defined(__stub_pthread_atfork) || defined(__stub___pthread_atfork)
20
+#error pthread_atfork is just a stub
21
+#endif
22
         void foo(void) { pthread_atfork(0,0,0); }
23
       ],[],[
24
         pike_cv_have_pthread_atfork=yes