diff options
author | Gannon McGibbon <[email protected]> | 2021-01-06 12:20:03 -0500 |
---|---|---|
committer | Aaron Patterson <[email protected]> | 2021-01-19 12:06:45 -0800 |
commit | 9e0075a3d902aa5236bbfdc0ad0d3028a55dc17e (patch) | |
tree | 4c0a885269e1b6332027527fbbb9689ba045c256 /lib/mkmf.rb | |
parent | a8dc5156e183489c5121fb1759bda5d9406d9175 (diff) |
Replace "iff" with "if and only if"
iff means if and only if, but readers without that knowledge might
assume this to be a spelling mistake. To me, this seems like
exclusionary language that is unnecessary. Simply using "if and only if"
instead should suffice.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4035
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r-- | lib/mkmf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 9d25cc6d93..57f656642d 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1821,7 +1821,7 @@ SRC # without modifying any of the global values mentioned above. def pkg_config(pkg, option=nil) if pkgconfig = with_config("#{pkg}-config") and find_executable0(pkgconfig) - # iff package specific config command is given + # if and only if package specific config command is given elsif ($PKGCONFIG ||= (pkgconfig = with_config("pkg-config", ("pkg-config" unless CROSS_COMPILING))) && find_executable0(pkgconfig) && pkgconfig) and |