Index: acinclude.m4 =================================================================== --- acinclude.m4 (revision 4858) +++ acinclude.m4 (working copy) @@ -227,7 +227,10 @@ else if test "$pgsql_ssl_libpq" = "yes" then - LIBS="$LIBS -lssl -lcrypto -lpq" + # no idea why -lssl and -lcrypto were included here, as this + # support is provided via libpq + #LIBS="$LIBS -lssl -lcrypto -lpq + LIBS="$LIBS -lpq" else LIBS="$LIBS -lcrypto -lpq" fi