X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=9c52b30a676ef3c77393bb174dc61b74538e6ab5;hb=dbfdff24f8beaea83192454166e8363e9b88c74f;hp=cbf3d557f792391689927d69d74928e07cfb06b1;hpb=dde7b813c5747fba5d14e47f6dd82bb7b4dc7cf1;p=pspp-builds.git diff --git a/configure.ac b/configure.ac index cbf3d557..9c52b30a 100644 --- a/configure.ac +++ b/configure.ac @@ -58,6 +58,10 @@ if test x"$psql_support" = x"yes" ; then AC_SUBST(PG_LDFLAGS) PG_LIBS=-lpq AC_SUBST(PG_LIBS) + PKG_CHECK_MODULES(OPENSSL,libssl, + AC_DEFINE([USE_SSL],1, + [Define to 1 if the openssl library is present.]) + ,) fi AM_CONDITIONAL(PSQL_SUPPORT, test x"$psql_support" = x"yes")