るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.027秒)
トップページ > モジュール:Kernel[x] > クエリ:kernel[x] > クエリ:with_config[x]

別のキーワード

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

ライブラリ

検索結果

Kernel#with_config(config, default = nil) -> bool | String (27109.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 (27109.0)

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

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

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

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


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