Make sure that psql functionality works when ssl is not present.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 24 Mar 2008 09:39:52 +0000 (09:39 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 24 Mar 2008 09:39:52 +0000 (09:39 +0000)
configure.ac

index 844e8269f20126050fc263a470513d623ce5ff3d..33201c795d7b5be19cfdb73caaf01cd8042194c0 100644 (file)
@@ -80,7 +80,7 @@ if test -n "$PG_CONFIG" ; then
 
    PG_LIBS=-lpq
    AC_SUBST(PG_LIBS)
-   PKG_CHECK_MODULES(OPENSSL,libssl,
+   PKG_CHECK_EXISTS(libssl,
          AC_DEFINE([USE_SSL],1,
                    [Define to 1 if the openssl library is present.])
            ,)