Lines 1-6
Link Here
|
1 |
--- configure.in.orig 2011-10-09 06:17:20.000000000 -0700 |
1 |
--- configure.in.orig 2012-02-15 19:26:09.000000000 -0500 |
2 |
+++ configure.in 2011-11-04 00:52:17.000000000 -0700 |
2 |
+++ configure.in 2012-02-16 22:28:27.617422641 -0500 |
3 |
@@ -1112,11 +1112,11 @@ |
3 |
@@ -1118,11 +1118,11 @@ |
4 |
[superux*], [ ac_cv_func_setitimer=no |
4 |
[superux*], [ ac_cv_func_setitimer=no |
5 |
], |
5 |
], |
6 |
[ LIBS="-lm $LIBS"]) |
6 |
[ LIBS="-lm $LIBS"]) |
Lines 17-23
Link Here
|
17 |
if test "${enable_win95}" = maybe; then |
17 |
if test "${enable_win95}" = maybe; then |
18 |
AC_HAVE_LIBRARY(unicows, [enable_win95=yes], [enable_win95=no]) |
18 |
AC_HAVE_LIBRARY(unicows, [enable_win95=yes], [enable_win95=no]) |
19 |
fi |
19 |
fi |
20 |
@@ -1808,7 +1808,7 @@ |
20 |
@@ -1815,7 +1815,7 @@ |
21 |
fi |
21 |
fi |
22 |
|
22 |
|
23 |
if test x"$enable_pthread" = xyes; then |
23 |
if test x"$enable_pthread" = xyes; then |
Lines 26-36
Link Here
|
26 |
AC_CHECK_LIB($pthread_lib, pthread_kill, |
26 |
AC_CHECK_LIB($pthread_lib, pthread_kill, |
27 |
rb_with_pthread=yes, rb_with_pthread=no) |
27 |
rb_with_pthread=yes, rb_with_pthread=no) |
28 |
if test "$rb_with_pthread" = "yes"; then break; fi |
28 |
if test "$rb_with_pthread" = "yes"; then break; fi |
29 |
@@ -1822,6 +1822,7 @@ |
29 |
@@ -1823,6 +1823,7 @@ |
30 |
[c], [], |
30 |
if test x"$rb_with_pthread" = xyes; then |
31 |
[root], [], |
31 |
AC_DEFINE(_REENTRANT) |
32 |
[c_r], [MAINLIBS="-pthread $MAINLIBS"], |
32 |
AC_DEFINE(_THREAD_SAFE) |
33 |
+ [pthread], [MAINLIBS="-pthread $MAINLIBS"], |
33 |
+ [pthread], [MAINLIBS="-pthread $MAINLIBS"], |
34 |
[LIBS="-l$pthread_lib $LIBS"]) |
34 |
AC_DEFINE(HAVE_LIBPTHREAD) |
35 |
else |
35 |
AC_CHECK_HEADERS(pthread_np.h, [], [], [@%:@include <pthread.h>]) |
36 |
AC_MSG_WARN("Don't know how to find pthread library on your system -- thread support disabled") |
36 |
AS_CASE([$pthread_lib], |