るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.014秒)
トップページ > クエリ:mkmf[x] > ライブラリ:mkmf[x] > バージョン:2.5.0[x] > クエリ:with_config[x]

別のキーワード

  1. matrix each_with_index
  2. _builtin with_index
  3. mkmf with_werror
  4. kernel with_config

モジュール

検索結果

Kernel#with_config(config, default = nil) -> bool | String (78349.0)

configure のオプションを検査します。

...定義を、追加するのに役立ちます。

@param config configure のオプションの名前を指定します。

@param default デフォルト値を返します。


require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end...

Kernel#with_config(config, default = nil) {|config, default| ... } -> bool | String (78349.0)

configure のオプションを検査します。

...定義を、追加するのに役立ちます。

@param config configure のオプションの名前を指定します。

@param default デフォルト値を返します。


require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end...