[前][次][番号順一覧][スレッド一覧]

ruby-changes:8504

From: yugui <ko1@a...>
Date: Thu, 30 Oct 2008 01:20:59 +0900 (JST)
Subject: [ruby-changes:8504] Ruby:r20038 (ruby_1_9_1): * configure.in (rb_cv_lib_xpg4_needed): Drop legacy FreeBSD

yugui	2008-10-30 01:20:45 +0900 (Thu, 30 Oct 2008)

  New Revision: 20038

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20038

  Log:
    * configure.in (rb_cv_lib_xpg4_needed): Drop legacy FreeBSD
      support regarding libxpg4.  Those old versions of FreeBSD
      shipped with the library don't have a working pthread library
      anyway.

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/configure.in

Index: ruby_1_9_1/configure.in
===================================================================
--- ruby_1_9_1/configure.in	(revision 20037)
+++ ruby_1_9_1/configure.in	(revision 20038)
@@ -608,21 +608,6 @@
 		AC_DEFINE(BROKEN_SETREGID, 1)
                 ac_cv_sizeof_rlim_t=8;;
 freebsd*)	LIBS="-lm $LIBS"
-		AC_CACHE_CHECK([whether -lxpg4 has to be linked],
-		  rb_cv_lib_xpg4_needed,
-		  [AC_TRY_CPP([
-#include <osreldate.h>
-#if __FreeBSD_version < 400020 || \
-   (__FreeBSD_version >= 500000 && __FreeBSD_version < 500005)
-#error needs libxpg4
-#endif
-		   ],
-		   rb_cv_lib_xpg4_needed=no,
-		   rb_cv_lib_xpg4_needed=yes,
-		   rb_cv_lib_xpg4_needed=yes)])
-		if test "$rb_cv_lib_xpg4_needed" = yes; then
-			AC_CHECK_LIB(xpg4, setlocale)
-		fi
 		;;
 dragonfly*)	LIBS="-lm $LIBS"
 		;;
Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 20037)
+++ ruby_1_9_1/ChangeLog	(revision 20038)
@@ -18,6 +18,13 @@
 	  test/webrick/test_server.rb, test/webrick/test_filehandler.rb: use
 	  webrick log as an assertion message.
 
+Wed Oct 29 13:02:17 2008  Akinori MUSHA  <knu@i...>
+
+	* configure.in (rb_cv_lib_xpg4_needed): Drop legacy FreeBSD
+	  support regarding libxpg4.  Those old versions of FreeBSD
+	  shipped with the library don't have a working pthread library
+	  anyway.
+
 Wed Oct 29 11:50:57 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in (dln-a-out): cannot make shared library nor work with

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]