[php-src] PR #14868: Fix AS_VAR_* checks
| From: | petk | Date: | Mon, 08 Jul 2024 11:40:18 +0000 |
| Subject: | [php-src] PR #14868: Fix AS_VAR_* checks | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27123@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14868
Author: petk
AS_VAR_SET_IF doesn't behave the same as "test -n" and/or "test -z", which
becomes an issue for Apache's ZTS automatic enabling and CFLAGS edge case where it would be
explicitly set to empty value. It is safer to use AS_VAR_IF instead of AS_VAR_SET_IF in these cases.
My bad for introducing that AS_VAR_SET_IF. Haven't noticed the issue behind it. Now is fixed.