[php-src] PR #14651: Add _GNU_SOURCE definition unconditionally
| From: | petk | Date: | Mon, 24 Jun 2024 15:14:55 +0000 |
| Subject: | [php-src] PR #14651: Add _GNU_SOURCE definition unconditionally | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26795@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14651
Author: petk
Since Autoconf >= 2.70 the _GNU_SOURCE and some other extensions are defined unconditionally
regardless whether the __EXTENSIONS__ can be safely defined. Some obsolete Solaris systems once had
issues with compiling a default set of standard system headers when __EXTENSIONS__ was defined.
Autoconf 2.69 and earlier checked based on that and defined the _GNU_SOURCE conditionally. This
condition is not relevant on current systems anymore.