[php-src] PR #19005: fix ldap.h detection without pkgconfig
| From: | remicollet | Date: | Wed, 02 Jul 2025 07:33:13 +0000 |
| Subject: | [php-src] PR #19005: fix ldap.h detection without pkgconfig | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32280@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19005
Author: remicollet
Failing with old openldap, without pkgconfig (ex: openldap-2.4.46 on RJEL-8)
```
checking for lber ldap... no
configure: error: Package requirements (lber ldap) were not met:
Package 'lber', required by 'virtual:world', not found
Package 'ldap', required by 'virtual:world', not found
```
PKG_CHECK_MODULES should have an
action-if-not-found arg
This also re-add search in default paths if not set by option