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


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to