blob: ca1fd0253976c4c82e4d1a49642692b1fd1ab8db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- configure.orig 2009-07-09 17:23:21.000000000 +0400
+++ configure 2009-07-09 17:25:20.000000000 +0400
@@ -27683,7 +27683,10 @@
if test "$RUBY" != "none"; then
- if "$RUBY" -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)'; then
+ if [ -z "$PTHREAD_LIBS" ]; then
+ PTHREAD_LIBS=-pthread
+ fi
+ if "$RUBY" -r mkmf -e 'with_ldflags("'"$PTHREAD_LIBS"'") { exit(have_func("rb_hash_foreach") ? 0 : 1) }'; then
# Extract the first word of "rdoc", so it can be a program name with args.
set dummy rdoc; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|