Lines 1-6
Link Here
|
1 |
--- configure.ac.orig 2018-01-04 02:12:16.000000000 +0800 |
1 |
--- configure.ac.orig 2018-01-03 18:12:16 UTC |
2 |
+++ configure.ac 2018-07-19 14:45:11.636321000 +0800 |
2 |
+++ configure.ac |
3 |
@@ -2482,7 +2482,7 @@ |
3 |
@@ -2482,7 +2482,7 @@ AS_IF([test "$ac_cv_func_qsort_r" != no], [ |
4 |
AC_CACHE_CHECK(whether qsort_r is GNU version, rb_cv_gnu_qsort_r, |
4 |
AC_CACHE_CHECK(whether qsort_r is GNU version, rb_cv_gnu_qsort_r, |
5 |
[AC_TRY_COMPILE([ |
5 |
[AC_TRY_COMPILE([ |
6 |
@%:@include <stdlib.h> |
6 |
@%:@include <stdlib.h> |
Lines 9-15
Link Here
|
9 |
int (*compar)(const void *, const void *, void *), |
9 |
int (*compar)(const void *, const void *, void *), |
10 |
void *arg); |
10 |
void *arg); |
11 |
],[ ], |
11 |
],[ ], |
12 |
@@ -2492,7 +2492,7 @@ |
12 |
@@ -2492,7 +2492,7 @@ void qsort_r(void *base, size_t nmemb, size_t size, |
13 |
AC_CACHE_CHECK(whether qsort_r is BSD version, rb_cv_bsd_qsort_r, |
13 |
AC_CACHE_CHECK(whether qsort_r is BSD version, rb_cv_bsd_qsort_r, |
14 |
[AC_TRY_COMPILE([ |
14 |
[AC_TRY_COMPILE([ |
15 |
@%:@include <stdlib.h> |
15 |
@%:@include <stdlib.h> |
Lines 18-24
Link Here
|
18 |
void *arg, int (*compar)(void *, const void *, const void *)); |
18 |
void *arg, int (*compar)(void *, const void *, const void *)); |
19 |
],[ ], |
19 |
],[ ], |
20 |
[rb_cv_bsd_qsort_r=yes], |
20 |
[rb_cv_bsd_qsort_r=yes], |
21 |
@@ -3245,7 +3245,7 @@ |
21 |
@@ -3245,7 +3245,7 @@ AS_IF([test "$with_dln_a_out" != yes], [ |
22 |
: ${LDSHARED='$(CC) -shared'} |
22 |
: ${LDSHARED='$(CC) -shared'} |
23 |
AS_IF([test "$rb_cv_binary_elf" = yes], [ |
23 |
AS_IF([test "$rb_cv_binary_elf" = yes], [ |
24 |
LDFLAGS="$LDFLAGS -rdynamic" |
24 |
LDFLAGS="$LDFLAGS -rdynamic" |
Lines 27-33
Link Here
|
27 |
], [ |
27 |
], [ |
28 |
test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED='$(LD) -Bshareable' |
28 |
test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED='$(LD) -Bshareable' |
29 |
]) |
29 |
]) |
30 |
@@ -3724,6 +3723,7 @@ |
30 |
@@ -3724,6 +3724,7 @@ AS_CASE("$enable_shared", [yes], [ |
31 |
SOLIBS='$(LIBS)' |
31 |
SOLIBS='$(LIBS)' |
32 |
LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)' |
32 |
LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)' |
33 |
LIBRUBY_SONAME='$(LIBRUBY_SO)' |
33 |
LIBRUBY_SONAME='$(LIBRUBY_SO)' |