mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/iconv/extconf.rb: check stricter. [ruby-talk:104501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
be9dc49f1e
commit
9aa6a033d2
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Jun 25 15:33:01 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/iconv/extconf.rb: check stricter. [ruby-talk:104501]
|
||||
|
||||
Fri Jun 25 01:58:01 2004 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines when
|
||||
|
|
|
@ -5,8 +5,8 @@ dir_config("iconv")
|
|||
conf = File.exist?(File.join($srcdir, "config.charset"))
|
||||
conf = with_config("config-charset", enable_config("config-charset", conf))
|
||||
|
||||
if have_header("iconv.h")
|
||||
have_library("iconv", "iconv") {|s| s.sub(/(?=\n\/\*top\*\/)/, "#include <iconv.h>")}
|
||||
if have_func("iconv", "iconv.h") or
|
||||
have_library("iconv", "iconv") {|s| s.sub(/(?=\n\/\*top\*\/)/, "#include <iconv.h>")}
|
||||
if checking_for("const of iconv() 2nd argument") do
|
||||
create_tmpsrc(cpp_include("iconv.h") + "---> iconv(cd,0,0,0,0) <---")
|
||||
src = xpopen(cpp_command("")) {|f|f.read}
|
||||
|
|
Loading…
Reference in a new issue