]> git.ipfire.org Git - thirdparty/asterisk.git/commit
BuildSystem: For consistency, avoid double-checking via if clauses.
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 9 Mar 2018 09:23:53 +0000 (10:23 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Fri, 9 Mar 2018 09:24:10 +0000 (03:24 -0600)
commit818a00cf60f46f7ebacef8dd1a9f3f5e8a510330
tree6497ca8b858ab27bc41feca1e350d30769b17551
parent91fa83ad933a7d5fb803793d1012fd710da5d62e
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
configure
configure.ac