diff options
author | Francis Dupont <fdupont@isc.org> | 2021-12-06 17:11:24 +0100 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2022-01-06 13:12:40 +0100 |
commit | 9b3c87b63045ff75235f8fd9fbce20737955d5ec (patch) | |
tree | b161cc330782cde7765284dd19222b15a65df582 /configure.ac | |
parent | [#34] Checkpoint: more PgSQL/CQL and hook (diff) | |
download | kea-9b3c87b63045ff75235f8fd9fbce20737955d5ec.tar.xz kea-9b3c87b63045ff75235f8fd9fbce20737955d5ec.zip |
[#34] Checkpoint before rebase
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index a8d6287243..63653e34f7 100644 --- a/configure.ac +++ b/configure.ac @@ -819,8 +819,10 @@ AM_CONDITIONAL(HAVE_PGSQL, test "$PG_CONFIG" != "") AC_ARG_ENABLE([pgsql-ssl], [AS_HELP_STRING([--enable-pgsql-ssl], [enable OpenSSL support in PostgreSQL [default=yes]])], - [pgsql_ssl=yes], [pgsql_ssl=no], [pgsql_ssl=yes]) -AC_DEFINE([HAVE_PGSQL_SSL], [1], [PostgreSQL was built with OpenSSL support]) + [pgsql_ssl=$enableval], [pgsql_ssl=no], [pgsql_ssl=yes]) +if test "${pgsql_ssl}" = "yes"; then + AC_DEFINE([HAVE_PGSQL_SSL], [1], [PostgreSQL was built with OpenSSL support]) +fi # allow building kea programs with static link to cassandra cpp-driver. AC_ARG_ENABLE([cql-static-lib], |