[php-src] PR #13595: Refactor systemd library check for FPM
| From: | petk | Date: | Tue, 05 Mar 2024 12:04:12 +0000 |
| Subject: | [php-src] PR #13595: Refactor systemd library check for FPM | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25262@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13595
Author: petk
This removes the unused HAVE_SYSTEMD_SD_DAEMON_H symbol defined by the Autoconf AC_CHECK_HEADERS
macro.
The systemd/sd-daemon.h sanity check now also works when systemd library is overriden by pkgconf
variables for custom or development places:
```sh
./configure --enable-fpm --with-fpm-systemd \
SYSTEMD_CFLAGS=-I/path/to/systemd/src \
SYSTEMD_LIBS="-L/path/to/systemd/build -lsystemd"
```