diff options
author | Alexander Traud <pabstraud@compuserve.com> | 2018-03-09 10:13:20 +0100 |
---|---|---|
committer | Alexander Traud <pabstraud@compuserve.com> | 2018-03-09 10:13:20 +0100 |
commit | c5f2332953b0871824ed93e99fb10ae625eaeadf (patch) | |
tree | acf1c9ea5bafd987d3006453844969c98d762b53 /funcs/func_sysinfo.c | |
parent | ffdc5c63985c8749eb26a9f5d66b2d796a0623d7 (diff) |
BuildSystem: For consistency, avoid double-checking via if clauses.
In the script ./configure, AST_EXT_LIB_CHECK and AST_PKG_CONFIG_CHECK first test
whether parameter 1 was already found. Consequently, an if-test on PBX_ just a
line below is redundant, if exactly the same parameter 1 is used again.
No performance gain is expected by this change. However, because this strategy
is used all over in ./configure except for two places, this change aims to
create more consistency: Only do something different if there is a reason to do
so.
Change-Id: I4a6f48127b7af3a48168c917e888be1f70625027
Diffstat (limited to 'funcs/func_sysinfo.c')
0 files changed, 0 insertions, 0 deletions