summaryrefslogtreecommitdiff
path: root/lang/ruby19/files/patch-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby19/files/patch-configure.in')
-rw-r--r--lang/ruby19/files/patch-configure.in66
1 files changed, 0 insertions, 66 deletions
diff --git a/lang/ruby19/files/patch-configure.in b/lang/ruby19/files/patch-configure.in
deleted file mode 100644
index b17963b140a3..000000000000
--- a/lang/ruby19/files/patch-configure.in
+++ /dev/null
@@ -1,66 +0,0 @@
---- configure.in.orig 2014-02-14 20:52:53.000000000 +0900
-+++ configure.in 2014-09-07 15:25:14.000000000 +0900
-@@ -1184,11 +1184,11 @@
- [superux*], [ ac_cv_func_setitimer=no
- ],
- [ LIBS="-lm $LIBS"])
--AC_CHECK_LIB(crypt, crypt)
--AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
--AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
--AC_CHECK_LIB(socket, socketpair) # SunOS/Solaris
--AC_CHECK_LIB(rt, clock_gettime) # GNU/Linux
-+AC_SEARCH_LIBS(crypt, crypt)
-+AC_SEARCH_LIBS(dlopen, dl) # Dynamic linking for SunOS/Solaris and SYSV
-+AC_SEARCH_LIBS(shl_load, dld) # Dynamic linking for HP-UX
-+AC_SEARCH_LIBS(socketpair, socket) # SunOS/Solaris
-+AC_SEARCH_LIBS(clock_gettime, rt) # GNU/Linux
- if test "${enable_win95}" = maybe; then
- AC_HAVE_LIBRARY(unicows, [enable_win95=yes], [enable_win95=no])
- fi
-@@ -1834,7 +1834,7 @@
- fi
-
- if test x"$enable_pthread" = xyes; then
-- for pthread_lib in thr pthread pthreads c c_r root; do
-+ for pthread_lib in pthread thr pthreads c c_r root; do
- AC_CHECK_LIB($pthread_lib, pthread_kill,
- rb_with_pthread=yes, rb_with_pthread=no)
- if test "$rb_with_pthread" = "yes"; then break; fi
-@@ -1848,6 +1848,7 @@
- [c], [],
- [root], [],
- [c_r], [MAINLIBS="-pthread $MAINLIBS"],
-+ [pthread], [MAINLIBS="-pthread $MAINLIBS"],
- [AS_CASE(["$target_os"],
- [openbsd*], [LIBS="-pthread $LIBS"],
- [LIBS="-l$pthread_lib $LIBS"])])
-@@ -1933,11 +1934,8 @@
-
- AS_CASE(["$target_os"],
- [freebsd*], [
-- AC_CHECK_HEADERS([/usr/local/include/execinfo.h])
-- if test "x$ac_cv_header__usr_local_include_execinfo_h" = xyes; then :
-- RUBY_APPEND_OPTION(CPPFLAGS, -I/usr/local/include)
-- LDFLAGS="${LDFLAGS:+$LDFLAGS }-L/usr/local/lib"
-- DLDFLAGS="${DLDFLAGS:+$DLDFLAGS }-L/usr/local/lib"
-+ AC_CHECK_HEADERS([execinfo.h])
-+ if test "x$ac_cv_header_execinfo_h" = xyes; then :
- AC_CHECK_LIB([execinfo], [backtrace])
- fi])
- AC_CHECK_FUNCS(backtrace)
-@@ -2086,7 +2084,6 @@
- : ${LDSHARED='$(CC) -shared'}
- if test "$rb_cv_binary_elf" = yes; then
- LDFLAGS="$LDFLAGS -rdynamic"
-- DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$(.TARGET)'
- else
- test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED="ld -Bshareable"
- fi
-@@ -2393,6 +2390,7 @@
- [freebsd*|dragonfly*], [
- SOLIBS='$(LIBS)'
- LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'
-+ LIBRUBY_DLDFLAGS='-Wl,-soname,$(LIBRUBY_SO)'
- if test "$rb_cv_binary_elf" != "yes" ; then
- LIBRUBY_SO="$LIBRUBY_SO.\$(TEENY)"
- LIBRUBY_ALIASES=''