Remove ! pkg-config for mac

This commit is contained in:
Andrey Volk 2021-12-31 13:40:27 +03:00
parent 43e5d26f71
commit 48eb27f7b0
1 changed files with 2 additions and 2 deletions

View File

@ -665,12 +665,12 @@ AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no])
case $host in
*-darwin*)
path_push_unique PKG_CONFIG_PATH /usr/local/opt/libpq/lib/pkgconfig
path_push_unique PKG_CONFIG_PATH /usr/local/opt/openssl@1.1/lib/pkgconfig
;;
esac
if test "$PKG_CONFIG" = "no" \
|| test x"$enable_core_pgsql_pkgconfig" = x"no" \
|| ! pkg-config libpq; then
|| test x"$enable_core_pgsql_pkgconfig" = x"no"; then
if test "$PG_CONFIG" != "no"; then
AC_MSG_CHECKING([for PostgreSQL libraries via pg_config])
POSTGRESQL_CFLAGS="-I`$PG_CONFIG --includedir`"