configure doesn't detect SSL support in libpq

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема configure doesn't detect SSL support in libpq
Дата
Msg-id 1323724720.4359.46.camel@localhost.localdomain
обсуждение исходный текст
Ответы Re: configure doesn't detect SSL support in libpq  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Hi,

It seems our configure script doesn't detect SSL support in libpq. It
detects the SSL library though.

The following patch fixes it, but I'm not sure of it as I'm in no way an
expert in those things;

diff --git a/acinclude.m4 b/acinclude.m4
index 4030966..0640a68 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -538,7 +538,7 @@ AC_DEFUN([SETUP_POSTGRESQL],
                                        PG_SSL="no"
                                fi
                        else
-                               AC_CHECK_LIB(pq, SSL_connect,
[PG_SSL=yes], [PG_SSL=no])
+                               AC_CHECK_LIB(pq, SSL_connect,
[PG_SSL=yes], [PG_SSL=no], "-lssl")
                        fi
                fi
                else

Any comments would be appreciated :)


--
Guillaume
  http://blog.guillaume.lelarge.info
  http://www.dalibo.com


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: "pgAdmin Trac"
Дата:
Сообщение: Re: [pgAdmin III] #341: New connection option: sslcompression
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: pgAdmin III commit: Add support for the new sslcompression connection o