com php-src: add comment about pg_config/pkgconfig: ext/p gsql/config.m4
| From: | Remi Collet | Date: | Wed, 12 Jun 2019 07:39:11 +0000 |
| Subject: | com php-src: add comment about pg_config/pkgconfig: ext/p gsql/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106696@lists.php.net to get a copy of this message | ||
Commit: 66bd7875f85fb74695ec9fa98bba88d114580b9f
Author: Remi Collet <remi@php.net> Wed, 12 Jun 2019 09:39:11 +0200
Parents: b654a0749233d89704d8b23ae6e758095fdfea1d
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=66bd7875f85fb74695ec9fa98bba88d114580b9f
Log:
add comment about pg_config/pkgconfig
Changed paths:
M ext/pgsql/config.m4
Diff:
diff --git a/ext/pgsql/config.m4 b/ext/pgsql/config.m4
index a5afd02..0c5dea3 100644
--- a/ext/pgsql/config.m4
+++ b/ext/pgsql/config.m4
@@ -7,6 +7,9 @@ PHP_ARG_WITH([pgsql],
if test "$PHP_PGSQL" != "no"; then
PHP_EXPAND_PATH($PGSQL_INCLUDE, PGSQL_INCLUDE)
+ dnl pg_config is still the default way to retrieve build options
+ dnl pkgconfig support was only introduced in 9.3
+
AC_MSG_CHECKING(for pg_config)
for i in $PHP_PGSQL $PHP_PGSQL/bin /usr/local/pgsql/bin /usr/local/bin /usr/bin ""; do
if test -x $i/pg_config; then