[php-src] PR #15166: Autotools: Add pkg-config for GMP library

From: Date: Tue, 30 Jul 2024 09:41:04 +0000
Subject: [php-src] PR #15166: Autotools: Add pkg-config for GMP library
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-27573@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15166 Author: petk This can also wait for the next PHP version or perhaps for PHP 8.4 beta otherwise it seems to be working fine. GMP has pkg-config integration since 2019-08-22 (version ~6.2.0). This optionally finds the GMP library using pkg-config or falls back to find library on the system or with the provided configure option argument (--with-gmp=DIR). When using DIR argument, the pkg-config check is silently skipped. When not using DIR argument, the GMP_CFLAGS and GMP_LIBS can be also used to find the GMP library: ./configure --with-gmp \ GMP_CFLAGS=-I/path/to/gmp/include \ GMP_LIBS="-L/path/to/gmp -lgmp" \

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