]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Remove ! pkg-config for mac mac
authorAndrey Volk <andywolk@gmail.com>
Fri, 31 Dec 2021 10:40:27 +0000 (13:40 +0300)
committerAndrey Volk <andywolk@gmail.com>
Fri, 31 Dec 2021 10:48:35 +0000 (13:48 +0300)
configure.ac

index baec8b2b833e90cee5a541d90d2fe1f7a510e605..4249fa98922950f858ff86064307cce5b0968cbf 100644 (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`"