1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

configure.in: libruby needs gmp

* configure.in (SOLIBS): LIBRUBY_SO also needs linking with gmp, to
  run worker processes in test-all on non-ELF platforms.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-09-04 02:11:38 +00:00
parent 1d8efe61d8
commit fdf04ce67e
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Wed Sep 4 11:11:37 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (SOLIBS): LIBRUBY_SO also needs linking with gmp, to
run worker processes in test-all on non-ELF platforms.
Tue Sep 3 23:01:41 2013 Kouhei Sutou <kou@cozmixng.org>
* test/rexml/parser/test_tree.rb

View file

@ -1057,7 +1057,8 @@ AC_ARG_WITH([gmp],
AS_IF([test "x$with_gmp" != xno],
[AC_CHECK_HEADERS(gmp.h)
AS_IF([test "x$ac_cv_header_gmp_h" != xno],
AC_CHECK_LIB([gmp], [__gmpz_init]))])
AC_CHECK_LIB([gmp], [__gmpz_init]))
with_gmp="$ac_cv_lib_gmp___gmpz_init"])
dnl check for large file stuff
mv confdefs.h confdefs1.h
@ -3327,6 +3328,10 @@ AS_CASE(["$target_os"],
[nacl], [
FIRSTMAKEFILE=GNUmakefile:nacl/GNUmakefile.in
])
AS_CASE(["$with_gmp: $SOLIBS "], [no:* | *' -lgmp '*|*' $(LIBS) '*], [],
[SOLIBS="-lgmp $SOLIBS"])
MINIOBJS="$MINIDLNOBJ"
AS_CASE(["$THREAD_MODEL"],