mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (dln-a-out): cannot make shared library nor work with
ELF. [ruby-core:19571] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4542baa983
commit
3cdf3ac9c9
2 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
ELF. [ruby-core:19571]
|
||||
|
||||
Wed Oct 29 11:00:25 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (rb_w32_open): shouldn't seek here.
|
||||
|
|
11
configure.in
11
configure.in
|
@ -1253,7 +1253,13 @@ dnl wheather use dln_a_out or not
|
|||
AC_ARG_WITH(dln-a-out,
|
||||
[ --with-dln-a-out use dln_a_out if possible], [
|
||||
case $withval in
|
||||
yes) with_dln_a_out=yes;;
|
||||
dnl (
|
||||
yes)
|
||||
if test "$enable_shared" = yes; then
|
||||
AC_MSG_ERROR(dln_a_out can not make shared library)
|
||||
fi
|
||||
with_dln_a_out=yes;;
|
||||
dnl (
|
||||
*) with_dln_a_out=no;;
|
||||
esac], [with_dln_a_out=no])
|
||||
|
||||
|
@ -1271,6 +1277,9 @@ rb_cv_binary_elf=no)])
|
|||
|
||||
if test "$rb_cv_binary_elf" = yes; then
|
||||
AC_DEFINE(USE_ELF)
|
||||
if test "$with_dln_a_out" = yes; then
|
||||
AC_MSG_ERROR(dln_a_out does not work with ELF)
|
||||
fi
|
||||
fi
|
||||
|
||||
case "$target_os" in
|
||||
|
|
Loading…
Reference in a new issue