[php-src] PR #14632: Squeeze PHP_CHECK_LIBRARY to reduce generated configure

From: Date: Sat, 22 Jun 2024 17:05:33 +0000
Subject: [php-src] PR #14632: Squeeze PHP_CHECK_LIBRARY to reduce generated configure
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-26767@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14632 Author: petk This trims redundant newlines in the generated configure script. The : is a [shell builtin command that does nothing][1] used in AC_CHECK_LIB to prevent doing its default action when library is found and 3rd argument is not given. Supported by all today's shells where Autoconf's configure works. The 5th argument (ac_stuff) is left quoted with double quotes to properly pass it further to PHP_EVAL_LIBLINE which has the for loop at this point when given argument includes newlines. [1]: https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Bourne-Shell-Builtins

« previous php.git-pulls (#26767) next »