Make sure that psql functionality works when ssl is not present.
[pspp-builds.git] / 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.])
            ,)