diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-29 16:20:45 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-29 16:20:45 +0000 |
commit | 5e2eb31006b207775c98d6ac05c0b6de316f52a3 (patch) | |
tree | c233ac86db5a17428f06403df9976444dbb757d2 | |
parent | b7d291504d6f452feb8681ab79f0beaaa254450d (diff) |
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.in | 15 |
2 files changed, 7 insertions, 15 deletions
@@ -18,6 +18,13 @@ Wed Oct 29 20:45:08 2008 Yusuke Endoh <mame@tsg.ne.jp> 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@iDaemons.org> + + * 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@ruby-lang.org> * configure.in (dln-a-out): cannot make shared library nor work with diff --git a/configure.in b/configure.in index 83e76711df..c6d43c139d 100644 --- a/configure.in +++ b/configure.in @@ -608,21 +608,6 @@ bsdi*) LIBS="-lm $LIBS" 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" ;; |