ruby-changes:12806
From: shyouhei <ko1@a...>
Date: Fri, 14 Aug 2009 14:08:32 +0900 (JST)
Subject: [ruby-changes:12806] Ruby:r24534 (ruby_1_8): * configure.in: only check pthread.h in case of --enable-pthread
shyouhei 2009-08-14 14:08:12 +0900 (Fri, 14 Aug 2009) New Revision: 24534 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24534 Log: * configure.in: only check pthread.h in case of --enable-pthread backport from trunk. [ruby-talk:343878] [ruby-core:23577] Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/configure.in Index: ruby_1_8/configure.in =================================================================== --- ruby_1_8/configure.in (revision 24533) +++ ruby_1_8/configure.in (revision 24534) @@ -561,7 +561,7 @@ AC_CHECK_HEADERS(stdlib.h string.h unistd.h limits.h sys/file.h sys/ioctl.h sys/syscall.h\ fcntl.h sys/fcntl.h sys/select.h sys/time.h sys/times.h sys/param.h\ syscall.h pwd.h grp.h a.out.h utime.h memory.h direct.h sys/resource.h \ - sys/mkdev.h sys/utime.h netinet/in_systm.h float.h ieeefp.h pthread.h \ + sys/mkdev.h sys/utime.h netinet/in_systm.h float.h ieeefp.h \ ucontext.h intrinsics.h) dnl Check additional types. @@ -1046,6 +1046,7 @@ AC_DEFINE_UNQUOTED(STACK_GROW_DIRECTION, $rb_cv_stack_grow_dir) if test x"$enable_pthread" = xyes; then + AC_CHECK_HEADERS([pthread.h]) for pthread_lib in pthread pthreads c c_r; do AC_CHECK_LIB($pthread_lib, pthread_kill, rb_with_pthread=yes, rb_with_pthread=no) Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 24533) +++ ruby_1_8/ChangeLog (revision 24534) @@ -1,3 +1,8 @@ +Fri Aug 14 14:03:46 2009 URABE Shyouhei <shyouhei@r...> + + * configure.in: only check pthread.h in case of --enable-pthread + backport from trunk. [ruby-talk:343878] [ruby-core:23577] + Thu Aug 13 16:20:07 2009 Nobuyoshi Nakada <nobu@r...> * configure.in, Makefile.in (MAKEDIRS): used MKDIR_P instead of -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/