summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2019-06-12 09:39:11 +0200
committerRemi Collet <remi@php.net>2019-06-12 09:39:11 +0200
commit66bd7875f85fb74695ec9fa98bba88d114580b9f (patch)
tree0aa3496c3220dcb50df7ce246f6148d2110df337
parentb654a0749233d89704d8b23ae6e758095fdfea1d (diff)
downloadphp-git-66bd7875f85fb74695ec9fa98bba88d114580b9f.tar.gz
add comment about pg_config/pkgconfig
-rw-r--r--ext/pgsql/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pgsql/config.m4 b/ext/pgsql/config.m4
index a5afd02923..0c5dea37eb 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