From 5e2eb31006b207775c98d6ac05c0b6de316f52a3 Mon Sep 17 00:00:00 2001 From: yugui Date: Wed, 29 Oct 2008 16:20:45 +0000 Subject: * 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 --- configure.in | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'configure.in') 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 -#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" ;; -- cgit v1.2.3