]> git.ipfire.org Git - thirdparty/asterisk.git/commit
BuildSystem: For consistency, avoid extra libs to be empty.
authorAlexander Traud <pabstraud@compuserve.com>
Tue, 20 Mar 2018 16:55:56 +0000 (17:55 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Tue, 20 Mar 2018 16:55:56 +0000 (17:55 +0100)
commit7580d1e0bbafd7562ce34d204c29dff32bb1c6fb
tree275b8223348caec73eac68e9f31e76b65b88d2e7
parent7d8445d5762e3c80065202f68bd59f279d3cec85
BuildSystem: For consistency, avoid extra libs to be empty.

AST_EXT_LIB_CHECK has several optional parameters. When an optional parameter
is left empty, [] is used to indicate this. However, this is done in the script
./configure only then, when a further parameter is not empty. For example, when
no extra libraries are needed to test the checked library, parameter 5 is not
mentioned. Except parameter 6 and higher are used, then parameter 5 must be
empty.

However, this general rule was broken
* three times for parameter 5 (extra libs) and
* three times for parameter 4 (header)
as found via the Regular Expression \[\]\). In case of parameter 5, all cases
were changed, because that happened for no reason. In case of parameter 4, an
[] improves readability actually. Therefore for parameter 4, the only case which
did not do it was changed. All this aims to create more consistency: Only do
something different if there is a reason to do so.

Change-Id: I037ef170cf1ad94497151a9ea5071a31c656cafe
configure.ac